Update rclone_copyurl.md

Running the `rclone copyurl` command with the `--auto-filename-header` option will produce the following error:

 `Fatal error: unknown flag: --auto-filename-header`

Considering the correct command `--header-filename` is listed below, I assume this is a mistake. If I've misunderstood, my apologies.

Also changed 'Troublshooting' to 'Troubleshooting'.

Thank you!
This commit is contained in:
eccoisle 2025-04-06 10:21:35 +10:00 committed by GitHub
parent 20302ab6b9
commit 70961c6d22
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -17,7 +17,7 @@ Setting `--auto-filename` will attempt to automatically determine the
filename from the URL (after any redirections) and used in the
destination path.
With `--auto-filename-header` in addition, if a specific filename is
With `--header-filename` in addition, if a specific filename is
set in HTTP headers, it will be used instead of the name from the URL.
With `--print-filename` in addition, the resulting file name will be
printed.
@ -28,7 +28,7 @@ destination if there is one with the same name.
Setting `--stdout` or making the output file name `-`
will cause the output to be written to standard output.
## Troublshooting
## Troubleshooting
If you can't get `rclone copyurl` to work then here are some things you can try: