Uploading and Downloading Files

Table of Contents

Wget#

Download#

The standard way I download files (say, foo.tar.gz) is

$ wget http://some.domain.com/foo.tar.gz

You can also use it with ftp.

Sometimes the machine doesn't have wget. Other utilities will do the trick.

Curl#

Download#

$ curl -O http://name:password@some.server.com/foo.tar.gz

Upload#

curl -T test.txt ftp://uname:pwd@myserver/mydir/

CategoryComputing.Networking - CategoryComputing.Linux.Shell - CategoryComputing.Mac.Shell