Description of problem: curl -C - -O 'very_long_url' As suggested on the web page sends the iso to STDOUT. (At least for the phoebe curl). Probably not what anyone wants. Version-Release number of selected component (if applicable): How reproducible: Every time. Steps to Reproduce: 1. curl -C - -O 'very_long_url' 2. 3. Actual results: iso goes to STDOUT Expected results: iso goes to appopriately named file Additional info: Reccomended fix: Change instructions to read curl -C - -O 'very_long_url' > filename.iso
Are you positively sure this sends to stdout? Don't be confused by the apparent stray dash after -C. man curl shows: Use "-C -" to tell curl to automatically find out where/how to resume the transfer. It then uses the given output/input files to figure that out. Also we recommend using -O: -O/--remote-name Write output to a local file named like the remote file we get. (Only the file part of the remote file is used, the path is cut off.) You may use this option as many times as you have number of URLs. I did not manage to make the output come to stdout unless I explicitly dropped the - after -C.
Yup, this is what I used: curl -C --O 'very_long_url' (which is what it looks like under phoebe and an LCD, on a CRT it is clearly a stray '-') as opposed to curl -C - -O 'very_long_url'
Well. please do try with the stray -, this is what the documentation says, doesn't it?
Also, use 'O' vs '0'... zero is bad :(
Yes, it works fine with the proper syntax. I was just "faked into" using improper syntax as the stray - did not seem to have a space between it and the -O.
We've cleaned up the documentation on this page to try and prevent this from happening again. Closing.