0 votes
by (120 points)

Hi, I'm trying to access files from an SFTP folder, and i hit the error 'No Such File; no Such Directory'. Strangely, when i try to run this from my local machine I'm able to download files and this error occurs only from my server where this is hosted. On adding the logging methods, i traced the error to this piece of code, but not sure why this error comes up though. sftp.ChangeDirectory(remotePath); remotePath in this case is "/DirA/DirB/"; Any help would be appreciated. I'm using the Rebex SFTP codes.

Regards, Ab

Applies to: Rebex SFTP

1 Answer

0 votes
by (18.0k points)

We'd like to help you but we need more information about the issue. Could you create a log using Rebex.FileLogWriter according the following article: http://www.rebex.net/kb/logging/. Then please send us the log to support@rebex.net or add it to your question above. Thanks!