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.
remotePath in this case is "/DirA/DirB/";
Any help would be appreciated. I'm using the Rebex SFTP codes.