This question relates to the command line version of cURL.
I\'m trying to download a file from a CGI script.
http://example.com/perl/dl.pl?ID=2
you can try the -o or -O option.
-o
-O