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 tried to use GETENV("RANDOM") but it doesn't work.
I have also tried echo %RANDOM% under cmd.exe but it works.

How to create random number using SCRIPTFTP?
RANDOM is not an environment variable, so GETENV to it is not applicable... You can cheat:
[ScriptFTP]PRINT(EXEC('exit %RANDOM%'))[/ScriptFTP]
wow, great workaround Wandrey
It works. Thanks WAndrey.