There is a script for uploading a file to FTP. Everything is good, but I just could not find the parameter that is responsible for the file name on the remote server. There is an option to separately connect to the FTP and rename the file, but I think this is not comme il faut.
ftp -in -u ftp://User:Passwordftp@10.28.1.1/Dir/ Test.files.tgz
ncftpput -u User -p Password -C 10.28.1.1 /local/path/file /Dir/remote_file_name- Mike