FTP file upload using CURL

The command is very very simple: just type
curl -T localfile.ext ftp://username:[email protected]/remotedir/

If you want to use a different destination filename just add it at the end:
curl -T localfile.ext ftp://username:[email protected]/remotedir/remotefile.zip



Posted

in

by

Tags:

Comments

One response to “FTP file upload using CURL”

  1. ssciboz Avatar
    ssciboz

    And for a full folder ?

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Discover more from try {} except

Subscribe now to keep reading and get access to the full archive.

Continue reading