upload file using curl command line code example Example: linux curl upload file ftp # curl -T backup-file.tar.gz ftp://username:[email protected]/backup/