We are observing few situations where ConnectAsync is taking too long (~30 mins) to connect to server. Though I have set the connection timeout of FileTransferClient's Timeout property, I am not sure it is taking that into consideration.
On going through rebex forum I came to know that it does not apply to async functions.
So will setting FileTransferClient.Settings.TimeoutAsynchronousMethods make this apply to async functions as well?
1) We are not using FTP servers instead we are connecting to sftp servers. Will the same property (FileTransferClient.Settings.TimeoutAsynchronousMethods) add timeout to sftp connections as well?
2) Many of the times we receive
Not authenticated to the server. error after
LogingAsync when we try to do any data operation (create dir etc). We observed that this error occurs even if the username and password are correct but the sftp server root dir does not exists.
What are the possible conditions in which we get this error so that we can handle the cases accordingly?