+1 vote
by (130 points)

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
by (144k points)

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 support@rebex.net 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
by (58.9k points)


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).