We are using Rebex libraries to connect to an SFTP server. On one client site, the following error is returned at PutFile:
Rebex.Net.SftpException: No such file; No such file. at Rebex.Net.ZEB.EC(TDB A, Type B) at Rebex.Net.ZEB.HB(String A, WFB B, Boolean C, CEB D) at Rebex.Net.Sftp.AAB(WFB A, CEB B, String C, Stream D, Int64 E, Int64 H, XCB I) at Rebex.Net.Sftp.AAB(WFB A, CEB B, String C, String D, Int64 E, Int64 H, Int64 I, XCB J) at Rebex.Net.Sftp.ZZ(WFB A, String B, String C, Int64 D, Int64 E, Int64 H, XCB I) at Rebex.Net.Sftp.PutFile(String localPath, String remotePath)
Below is the logwriter verbose output. Please advise as to how we can resolve this error.
2015-08-04 12:48:32.923 Opening log file.
2015-08-04 12:48:32.923 Using FileLogWriter version 2.0.4981.0.
2015-08-04 12:48:32.939 VERBOSE Sftp(1)[14] SSH: Sending packet SSHMSGCHANNELDATA (45 bytes).
0000 |5E-00-00-00-00-00-00-00 24-00-00-00-20-11-00-00| ^.......$... ...
0010 |00-02-00-00-00-17-2F-75 70-6C-6F-61-64-2F-75-70| ....../upload/up
0020 |6C-6F-61-64-2F-74-65-73 74-2E-70-64-66 | load/test.pdf
2015-08-04 12:48:32.939 INFO Sftp(1)[14] Command: SSHFXPSTAT (2, '/upload/upload/test.pdf')
2015-08-04 12:48:32.954 VERBOSE Sftp(1)[14] SSH: Received packet SSHMSGCHANNELDATA (42 bytes).
0000 |5E-00-00-00-00-00-00-00 21-00-00-00-1D-65-00-00| ^.......!....e..
0010 |00-02-00-00-00-02-00-00 00-0C-4E-6F-20-73-75-63| ..........No suc
0020 |68-20-66-69-6C-65-00-00 00-00 | h file....
2015-08-04 12:48:32.954 INFO Sftp(1)[14] Response: SSHFXPSTATUS (2, 2, 'No such file')
2015-08-04 12:48:32.985 VERBOSE Sftp(1)[14] SSH: Sending packet SSHMSGCHANNELDATA (53 bytes).
0000 |5E-00-00-00-00-00-00-00 2C-00-00-00-28-03-00-00| ^.......,...(...
0010 |00-03-00-00-00-17-2F-75 70-6C-6F-61-64-2F-75-70| ....../upload/up
0020 |6C-6F-61-64-2F-74-65-73 74-2E-70-64-66-00-00-00| load/test.pdf...
0030 |1A-00-00-00-00 | .....
2015-08-04 12:48:32.985 INFO Sftp(1)[14] Command: SSHFXPOPEN (3, '/upload/upload/test.pdf', 26)
2015-08-04 12:48:33.017 VERBOSE Sftp(1)[14] SSH: Received packet SSHMSGCHANNELDATA (42 bytes).
0000 |5E-00-00-00-00-00-00-00 21-00-00-00-1D-65-00-00| ^.......!....e..
0010 |00-03-00-00-00-02-00-00 00-0C-4E-6F-20-73-75-63| ..........No suc
0020 |68-20-66-69-6C-65-00-00 00-00 | h file....
2015-08-04 12:48:33.017 INFO Sftp(1)[14] Response: SSHFXPSTATUS (3, 2, 'No such file')
2015-08-04 12:48:33.017 ERROR Sftp(1)[14] Info: Rebex.Net.SftpException: No such file; No such file.
at Rebex.Net.ZEB.EC(TDB A, Type B)
at Rebex.Net.ZEB.HB(String A, WFB B, Boolean C, CEB D)
at Rebex.Net.Sftp.AAB(WFB A, CEB B, String C, Stream D, Int64 E, Int64 H, XCB I)
2015-08-04 12:48:33.032 VERBOSE Sftp(1)[14] SSH: Sending packet SSHMSGCHANNELEOF (5 bytes).
0000 |60-00-00-00-00 | `....
2015-08-04 12:48:33.032 VERBOSE Sftp(1)[14] SSH: Sending packet SSHMSGCHANNELCLOSE (5 bytes).
0000 |61-00-00-00-00 | a....
2015-08-04 12:48:33.063 VERBOSE Sftp(1)[14] SSH: Received packet SSHMSGCHANNELREQUEST (25 bytes).
0000 |62-00-00-00-00-00-00-00 0B-65-78-69-74-2D-73-74| b........exit-st
0010 |61-74-75-73-00-00-00-00 00 | atus.....
2015-08-04 12:48:33.063 VERBOSE Sftp(1)[14] SSH: Received packet SSHMSGCHANNELCLOSE (5 bytes).
0000 |61-00-00-00-00 | a....
2015-08-04 12:48:33.063 VERBOSE Sftp(1)[14] SSH: Sending packet SSHMSGDISCONNECT (27 bytes).
0000 |01-00-00-00-0B-00-00-00 0E-53-65-73-73-69-6F-6E| .........Session
0010 |20-63-6C-6F-73-65-64-00 00-00-00 | closed....