Change directory issue in SFTP Tool

+1 vote
asked Oct 9, 2014 by Ravi Shankar (130 points)
edited Dec 18, 2014

When i trying to connect the SFTP server using your SFTP library to change directory in the remote server i am getting the following error "Failure; Folder not found: /vendors/GCHPAPER/Test/Inbound/837P/5010". It works fine if i use Filezilla or Core FTP tool.

See below the SFTP log:

2014-10-09 20:14:57.241 Opening log file.
2014-10-09 20:14:57.243 Using FileLogWriter version 2.0.5298.0.
2014-10-09 20:15:04.830 INFO Sftp(1)[9] Command: SSH_FXP_REALPATH (2, '/vendors/GCHPAPER/Test/Inbound/837P/5010')
2014-10-09 20:15:05.205 INFO Sftp(1)[9] Response: SSH_FXP_STATUS (2, 4, 'Folder not found: /vendors/GCHPAPER/Test/Inbound/837P/5010')
2014-10-09 20:15:05.238 ERROR Sftp(1)[9] Info: Rebex.Net.SftpException: Failure; Folder not found: /vendors/GCHPAPER/Test/Inbound/837P/5010.
   at Rebex.Net.PEB.EC(PDB A, Type B)
   at Rebex.Net.PEB.AC(String A, WDB B)
   at Rebex.Net.Sftp.TT(String A, WDB B)
   at Rebex.Net.Sftp.PO(String A, WDB B)

Thanks in advance.

With Regards, Ravi

Applies to: Rebex SFTP
commented Oct 9, 2014 by Lukas Pokorny (126,870 points)
edited Oct 9, 2014

Hello, could you please create a communication of this using Sftp object's LogWriter property and either add it to your question or mail it to for analysis? That should make it possible to tell what is going on. Posting an equivalent FileZilla or Core FTP log might be helpful as well. Thanks!

1 Answer

0 votes
answered Oct 17, 2014 by Tomas Knopp (58,890 points)
edited Dec 18, 2014


The workaround for the WS-FTP server problematic SSH_FXP_REALPATH command has been released as part of version 2014R3 of Rebex components.

Thank you for the log files. This turned out to be a SSH_FXP_REALPATH bug of the WS_FTP server. We have added a workaround for this issue into Rebex SFTP. The hotfix is available upon mail request for registered users and it will be part of the next release (i.e. 2014R3).