ftp automation

ScriptFTP

The professional tool to automate FTP, SFTP, FTPS and schedule FTP batch jobs

The forum is now read only. Please, go to the the main ScriptFTP website if you need help.
Need help writing a script? Have any question about ScriptFTP?
I want to put computer name of the ftp client in the filename to create backup ;then I want to upload this file.
Please can you tell me how to do that.
I have created a backup file contain computer name in 7z by pass %computername%.
But this variable can't be passed to putfile function.
So how to store computer name in variable to use it.
Thanks.
Try the following:
FTP Script
  1. $computer_name=GETENV("COMPUTERNAME")