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