Subject: SFTP Authenticate() exception: "The request has failed"
Date: 2011-09-26 17:31:08
From: Dennis Challe
Source: sftp-authenticate-exception-request-failed
----------------------------------------------------------------------
We have some very simple code to try and connect to our SFTP server, and we are passing in server name, port, username, and password that work fine when connecting through FileZilla. However, the 'client.Authenticate' returns a vague "The request has failed' exception.
Anyone have ideas how to resolve or debug the issue?
This is the extent of the code:
Sftp client = new Sftp();
client.Connect(_FTPServer, 22);
client.Authenticate(_FTPUN, _FTPPwd);
client.UploadFile(sourceFile, destFile);
client.Disconnect();
----------------------------------------------------------------------
Note: This question has been asked on the Q&A forum of Thang Dang's fraudulent ComponentPro brand
If you purchased anything from ComponentPro, you have been scammed. Contact the payment processor
who sold you the license and ask for your money back.
Back to ComponentPro Q&A Forum Index