github.com/artpar/rclone@v1.67.3/docs/content/commands/rclone_copyurl.md (about) 1 --- 2 title: "rclone copyurl" 3 description: "Copy the contents of the URL supplied content to dest:path." 4 slug: rclone_copyurl 5 url: /commands/rclone_copyurl/ 6 groups: Important 7 versionIntroduced: v1.43 8 # autogenerated - DO NOT EDIT, instead edit the source code in cmd/copyurl/ and as part of making a release run "make commanddocs" 9 --- 10 # rclone copyurl 11 12 Copy the contents of the URL supplied content to dest:path. 13 14 ## Synopsis 15 16 17 Download a URL's content and copy it to the destination without saving 18 it in temporary storage. 19 20 Setting `--auto-filename` will attempt to automatically determine the 21 filename from the URL (after any redirections) and used in the 22 destination path. 23 24 With `--auto-filename-header` in addition, if a specific filename is 25 set in HTTP headers, it will be used instead of the name from the URL. 26 With `--print-filename` in addition, the resulting file name will be 27 printed. 28 29 Setting `--no-clobber` will prevent overwriting file on the 30 destination if there is one with the same name. 31 32 Setting `--stdout` or making the output file name `-` 33 will cause the output to be written to standard output. 34 35 ## Troublshooting 36 37 If you can't get `rclone copyurl` to work then here are some things you can try: 38 39 - `--disable-http2` rclone will use HTTP2 if available - try disabling it 40 - `--bind 0.0.0.0` rclone will use IPv6 if available - try disabling it 41 - `--bind ::0` to disable IPv4 42 - `--user agent curl` - some sites have whitelists for curl's user-agent - try that 43 - Make sure the site works with `curl` directly 44 45 46 47 ``` 48 rclone copyurl https://example.com dest:path [flags] 49 ``` 50 51 ## Options 52 53 ``` 54 -a, --auto-filename Get the file name from the URL and use it for destination file path 55 --header-filename Get the file name from the Content-Disposition header 56 -h, --help help for copyurl 57 --no-clobber Prevent overwriting file with same name 58 -p, --print-filename Print the resulting name from --auto-filename 59 --stdout Write the output to stdout rather than a file 60 ``` 61 62 63 ## Important Options 64 65 Important flags useful for most commands. 66 67 ``` 68 -n, --dry-run Do a trial run with no permanent changes 69 -i, --interactive Enable interactive mode 70 -v, --verbose count Print lots more stuff (repeat for more) 71 ``` 72 73 See the [global flags page](/flags/) for global options not listed here. 74 75 # SEE ALSO 76 77 * [rclone](/commands/rclone/) - Show help for rclone commands, flags and backends. 78