I'm creating a new job that connects to a remote SFTP server running OpenSSH. I get connected but when the file tries to download I get a message saying "File download failed: filename. SFTP component not connected". If I run the action of SFTP check if connected the status shows as connected and it moves on to my download step. I have also tried with SFP Download Files but have the same result.
I have another project setup using SFTP and it connects and downloads so seems related to the server I'm connecting to but I can download the file using filezilla.
We have had one other report of this issue, however we were never able to reproduce the problem, and the user never came back to us with the info we asked for. Which SFTP server software are you using?
The SFTP server is not my server but one at another company I'm connecting to. I had asked what they were running and the reply was "Just your run of the mill Linux SFTP server. Open-ssh, SSHv2 \w a couple of custom scripts for security."
I have no issue connecting to their server with filezilla but cuteftp throws a message saying "The file being transferred in ASCII mode appears to be a Binary file. Proceed anyway?" Not sure if that will help or not...
What SFTP client does FinalBuilder use to connect?
Paul and I are spending the afternoon refactoring the code for the SFTP actions to improve error handling and reporting. Somewhere in there the connection must be getting dropped, but our code currently doesn’t expose the reason for it being dropped. Hopefully we should have a build by tomorrow that will give us more information to work with.
We did some major refactoring of the actions to improve error handling and diagnosis, and updated the library we use to the latest version. We did actually see the error you were getting, however since the changes we have not seen this error, and we suspect it may have been caused by how we were dealing with connection errors.