cURL FTP Usage

Transfer file by FTP

curl -T /home/mrsock/tactical/recurseExceptionMessages.txt ftp://login:password@ftpserver.com/test/recurseExceptionMessages.txt

FTP rename transferred file:

curl -Q "RNFR test/recurseExceptionMessages.txt" -Q "RNTO test/recurseExceptionMessages.txt.newname" "ftp://login:password@ftpserver.com"