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 have just placed an order for the script to EXE conversion service http://www.scriptftp.com/reference.php?go=topic610 ).

If I send you the script file, then you will have access to the passwords, correct?
If the passwords are in the script file, yes. As it will be readable I have access to it. Some customers do not care about it because their FTP servers are in their local network and are not accessible from Internet.

But for privacy you can make your script file to retrieve the password from the command line (and also the user name or any other parameter you may need) using the command GETPARAM. The resulting EXE file will also take the password from the command line. Like this:
myconvertedscript.exe myuser 1234thisisapassword
In the script it is done this way:

[scriptftp="get_command_line_parameter.ftp"]$myuser=GETPARAM(2)
$mypassword=GETPARAM(3)

OPENHOST("ftp.myhost.com",$myuser,$mypassword)[/ScriptFTP]

You can find further information here:

http://www.scriptftp.com/reference.php?go=topic153