We've added in support for SFTP (Secure File Transfer Protocol). The next official minor update will include these actions, but we'd like some preliminary/beta feedback on them in the meantime. The actions will also be added to Automise very soon.
The SFTP actions provide client-side functionality for SFTP (Secure File Transfer Protocol). The actions implement SSH File Transfer Protocol. It works over secure SSH channel and has nothing common with FTP protocol. SFTP works as a subsystem of SSHv2 protocol, i.e. SFTP negotiation flow is the following:
TCP connection is established
Secure SSH connection is established
SFTP handshake is performed over SSH channel
To add SFTP support to your project you should perform the following sequence of operations:
Add a SFTP Connect action (specify address/port, authentication parameters etc.)
Add TRY, FINALLY, and END actions.
Under the TRY action, add SFTP actions for the tasks that you need to perform (eg. SFTP Download File, SFTP List Files, etc)
Under the FINALLY action, add an SFTP Disconnect action
The SFTP actions that are available are:
SFTP Connect
SFTP Disconnect
SFTP Check if Connected
SFTP Create Directory
SFTP Upload Fileset
SFTP Upload File
SFTP Upload Files
SFTP Download File
SFTP Download Files
SFTP Remove File
SFTP Remove Files
SFTP Rename File
SFTP List Files
SFTP Query Available Space
SFTP Query Home Directory
SFTP Copy Remote File
SFTP Remove Directory
We would appreciate any feedback on the new set of actions, specifically we would like to hear from you what server you have tested against and what actions you have used (successfully or otherwise).
The SFTP actions are available in this build onwards:
I have found two issues sofar using FinalBuilder 6.20 (build 1019)
1. When adding a SFTP Connect action to a new FinalBuilder project the entered connection name is only available to other SFTP actions *after* the project file has been saved and reloaded.
2. It seems as if the SFTP list files action always adds a backslash to the entered remote path. The action always fails with the following error when connecting to a FreeBSD 4.10-RELEASE-p2 i386 server: 'File listing failed: No such file'
Sorry for the delay in replying, we’re in the process of getting a freebsd virtual machine up and running (we don’t have much unix experience here!) to try and reproduce this. I was able to reproduce the connection object issue, looking into that now.
Are you experiencing a specific issue? Not sure which full post you are referring to? If the Force V4 or higher is not set, the library we use will work with any SFTP protocol version.
Also, please don’t revive old threads for new issues, create a new one, it makes it easier for support staff to manage and easier for users to search on.