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.
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.
liked Script FTP? Try our other product Email Parser