linux
Using cURL
You can use the cURL program to transfer files to your account from the command line. The cURL program is often a good substitute for the wget program.
This article describes how to use the cURL program to transfer files from the command line.
However, this command by itself does not accomplish much. Let’s download a page from the example.com test domain:
Curl downloads the page to the current working directory. The -O option instructs cURL to download the output and save it in a file name that has the same name as the source document. In this case, it is test.html. If you open the test.html file on your account, you can see the HTML source page for example.com/test.html.
If you want to download a file and assign it a specific filename, use the -o option. For example, to download the example.com/test.html file to a file on the local account named download.html, type the following command: