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 require access to secure FTP (SFTP) servers and I don't see a method for connecting using SETPROTOCOL. Also don't see any way to designate the SFTP port 22 rather than the default 21. I've installed the ver 4 beta that indicates it has support for SFTP but don't have any documentation. Is this possible?
Hello,

Take a look at the SETPROTOCOL help topic:

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

You can enable SFTP this way:

[scriptftp="sftp.ftp"]SETPROTOCOL(SFTP)
OPENHOST("mysftphost.com","myuser","mypassword")[/ScriptFTP]

Using SETPROTOCOL this way automatically sets the used port to 22 (the default for SFTP). If you want to use other port try SETPORT.