About SFTP
SFTP (SSH File Transfer Protocol, often called Secure File Transfer Protocol) is a protocol that lets you transfer files securely over SSH connection. SFTP is not compatible with FTP (File Transfer Protocol), which has it's own security enhancements such as FTPS, FTP over SSL. SFTP is built on top of SSH connection. SSH supports various authentication schemes such as password-based and public key. Public key authentication requires a private key which can be linked to from the Security tab. The VisualCron implementation supports 3-5 of SFTP protocol (versions 1, 2 are outdated and not used anywhere). Default port for SFTP is 22.
Connection settings
Authentication tab
Public key vs password authentication
Public key authentication means that you specify the private key and any password for that key. Private keys can be loaded in SSH1, OpenSSH, Binary, Putty, IETF (Putty and IETF use different formats here) formats.
Extra settings tab
Transfer type
Select if you want to transfer through binary (default) or ascii mode.
Data connection type
FTP only option.
Max packet size
Use this property to specify the maximal length of packet in bytes. The default value is 262144, i.e., 256 KBytes.
Auto adjust transfer block
Use this property to enable or disable automatic adjustment of pipeline length and block sizes. By default automatic adjustment is enabled, and normally you don't need to disable it.
Pipeline length
Use this property to specify the number of upload or download requests sent before waiting for all requests to complete. The more requests are sent, the faster the transfer is. However, in case of error, all requests are discarded. Also, more pending requests means more memory used, so if speed is not critical and memory consumption is, set PipelineLength to 1. Default value is 10.
Download block size
Use this property to control the size of the single download request. The servers don't limit download request size, however the buffer is allocated to store the requests, so the larger the value is, the memory block is needed.
SFTP version support
Some SFTP servers do not support connections with specific SFTP versions. You can control in details what SFTP client versions that should be supported. http://en.wikipedia.org/wiki/SSH_File_Transfer_Protocol
Troubleshooting
Authentication type 16 failed along with error 114
Try unchecking "Auto authentication" along with unchecking "Password authentication". The problem could also be that password or username is wrong.
Authentication type 4 failed along with error 114
Try unchecking "Auto authentication" along with unchecking "Keyboard authentication". The problem could also be that password or username is wrong.
Authentication type 2 failed along with error 114
Public key authentication is failing - maybe you are using the wrong private key or server uses password authentication.
Authentication failed for type 16 and 4 along with error 114
Currently you are using password authentication but it seems like the server requires public key authentication.
SFTP error 7 in combination with error 10058
Try unchecking Auto adjust MAC algorithms in Connection->Encryption.
SFTP error 11 in combination with error 10058
Try these solutions, one at a time:
1. open Authentication tab of Connection and uncheck "Auto authentication" and uncheck "Keyboard authentication".
2. open Encryption tab of Connection and uncheck "Auto adjust ciphers"
Other error codes
https://www.eldos.com/documentation/sbb/documentation/ref_err_sftperrorcodes.html
Failed to retrieve file list: SFTP component not connected
Could be that your SFTP server does not support all SFTP versions. Try unchecking the higher ones at "Extra settings" tab.
Public key errors
3329 (0x0D01) Public key is invalid - usually indicate that there is something wrong with the format of the file
3330 (0x0D02) Private key is invalid - usually indicate that there is something wrong with the format of the file
3331 (0x0D03) Error of reading from file
3332 (0x0D04) Error of writing to file
3333 (0x0D05) Algorithm is unsupported
3334 (0x0D06) Internal error
3335 (0x0D07) Buffer is too small
3336 (0x0D08) There is no private key
3337 (0x0D09) Wrong password for private key
3338 (0x0D0A) PEM algorithm is unsupported
SFTP component not connected
Try changing the SFTP version in the Connection.