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