0 votes
by (260 points)
edited

Using Rebex.Net.Sftp v2.0.4086.0 (as well as the previous version) I am running into a strange issue. After successfully creating a number of directories and successfully uploading files to a GlobalScape EFT server, calling SFTP's DirectoryExists method on a directory that exists causes the will block forever and not return.

The problem doesn't occur every time a call to DirectoryExists is made, however it has happened numerous times and is reproducible. It happens maybe 6-7 minutes after the initial connection to the FTP server was made. However, there were a couple disconnects and reconnects as different tasks connected to the server. I'm wondering if this is something related to the SSH Key renegotiation that was fixed in the previous version. It only seems to happen after being connected to the server and transferring files for a longer (5+ minutes) period of time.

I did create a log using the LogWriter - the last few lines look like this.

2011-07-14 14:49:45.308 DEBUG ILogWriter(0) DirectoryExists: /d1cb7a19-fd99-49b8-9473-437bb92041db/89744c76-8b18-4b23-b05c-d35e6595f133/ProcTemp/00/00/00/00/00/00/00    
2011-07-14 14:49:45.308 DEBUG Sftp(9) Command: SSH_FXP_WRITE (3867, 0x31, 57344, 28672 bytes)    
2011-07-14 14:49:45.308 DEBUG ILogWriter(1) Command Sent: SSH_FXP_WRITE (3867, 0x31, 57344, 28672 bytes)    
2011-07-14 14:49:45.308 INFO Sftp(9) Command: SSH_FXP_STAT (3868, '/d1cb7a19-fd99-49b8-9473-437bb92041db/89744c76-8b18-4b23-b05c-d35e6595f133/ProcTemp/00/00/00/00/00/00/00')    
2011-07-14 14:49:45.308 DEBUG ILogWriter(1) Command Sent: SSH_FXP_STAT (3868, '/d1cb7a19-fd99-49b8-9473-437bb92041db/89744c76-8b18-4b23-b05c-d35e6595f133/ProcTemp/00/00/00/00/00/00/00')
Applies to: Rebex SFTP
by (144k points)
edited

I sent you an e-mail with a link to the current build of Rebex SFTP - please give it a try and let us know if the issue still persists.

by (260 points)
edited

Thank you Lukas - I was able to reproduce this issue with the new build you provided, I have sent an email response with the Verbose logging report.

1 Answer

0 votes
by (260 points)
edited

This has been addressed in a trial build that Lukas & Rebex provided. Thank you.

...