Curl

Examples

 * Rename file
 * 1) curl -Q "RNFR sub_dir/ori_filename" -Q "RNTO sub_dir/new_filename" ftp://user_name:password@ftp_server/


 * Rename a file after upload
 * 1) curl -T my_file.txt ftp://ftp_server/dir/ -Q "-RNFR my_file.txt" -Q "-RNTO new_file.txt"