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?
How do I specify a port number (other than 21) on an OPENHOST command? I tried:
Code: Select allOPENHOST("192.168.1.105:10021","myuser","mypassword")
but that didn't work.
Hello Scott,

With SETPORT. For example:
Code: Select all# Set current TCP port to 6021. Default is 21 for FTP. SETPORT(6021) # Connect to 192.168.0.23 on port 6021 OPENHOST("192.168.0.23","myuser","mypass")
Further info here: http://www.scriptftp.com/reference.php?go=topic450