====== Curl - Upload a file with FTP ====== curl -T uploadfilename -u username:password ftp://sitename.com/myfile * The ‘**uploadfilename**’ file will be copied to the remote site and named ‘myfile’. * If the destination filename is eliminated the file will be copied with the original name. * By default the file will be copied to the root directory. To copy to some other directory specify the directory after the site name;e.g. curl -T uploadfilename -u username:password ftp://sitename.com/directory/myfile