ftp with one liner command from linux

Hate using the ftp client installed on your nix machine? I do… Heres a one liner using curl that will make life a little more simple.

Firstly install curl (if you didnt already)
– yum install curl

Now do this:
curl -T my-local-file.txt ftp://ftp.desthost.com –user username:password

and you are all set granted your credentials are good. 🙂

Leave a Reply

Your email address will not be published.