No such file; No such directory error

0 votes
asked Dec 12, 2012 by abg (120 points)
edited Dec 12, 2012

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
answered Dec 12, 2012 by Jan Sotola (17,670 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: Then please send us the log to or add it to your question above. Thanks!