Version 1.5.2896 locking up

+1 vote
asked Aug 21, 2012 by phil_h (220 points)
edited Aug 28, 2012

We have a legacy embedded system using windows ce 4.2 and sftp Version 1.5.2896. About once a week on average every site (about 100 sites) locks up in the ftp session, generally causing the watchdog to restart the box. This is obviously not the preferred behaviour ;) Our diagnostics show it might be deleting a file form the server, or listing the server directory contents, or looking at a file time. Would an update to 2008-07-24 Version 1.5.3127 make any difference ? What would a support contract give us that might help turn the lockup into an exception that can be handled ? Fingers crossed for a useful reponse :)

Our original contract is: Rebex SFTP for .NET/.NET CF + source code - 5 developers (Order U21653576 from 2007-03-20)

1 Answer

0 votes
answered Aug 21, 2012 by Frantisek Bosek (1,420 points)
edited Aug 28, 2012
 
Best answer

Hello Phil

We are not sure, if the upgrade on 2008-07-24 Version would help you in this case. But we believe that this bug should be already fixed in the more recent versions for there was quite a lot of updates since you have bought our component five years ago. You can see the release history here: http://www.rebex.net/sftp.net/history.aspx

Our suggestion therefore is, whether you could try to update to current version of Rebex SFTP for.NET/.NET CF . In case this your problem would persist, we will refund you this order. Please let me know, and in case this solution suits you, I will send you a renewing link to your e-mail.

Best Regards

Frantisek Bosek www.rebex.net support@rebex.net

commented Aug 21, 2012 by phil_h (220 points)
edited Aug 22, 2012

Thanks for responding so quickly. Unfortunately we cant update the compact framework from v1.1 - its inextricably linked to the ce os and the vs2003 development environment. So unless you have a neat trick to get cf2 running with VS2003 we're stuck there. Any other ideas will be considered !

commented Aug 21, 2012 by Lukas Pokorny (102,250 points)
edited Aug 21, 2012

We have not realized you are still on .NET CF 1.0 - that might really complicate things a lot! The last version of Rebex SFTP to support .NET CF 1.0 was 2.0.3723.0, released in March 2010 (1.5.3127 was released in July 2008). This might solve the issue, but it's by no means certain.

If that doesn't help, the next possible solution would be a backport of the current version of the SSH library (most likely responsible for the issue) to .NET CF 1.0, which is not a trivial task, but almost certainly can be done in a day or two.

commented Aug 21, 2012 by Lukas Pokorny (102,250 points)
edited Aug 21, 2012

You can download Rebex SFTP v2.0.3723.0 trial (.NET CF version) from the following URL: http://www.rebex.net/getfile/683b935d3b06462082dd148a297a73cf/RebexSftpCf-Trial-2.0.3723.0-DotNetCF1.0.exe

commented Aug 22, 2012 by phil_h (220 points)
edited Aug 22, 2012

Aha ! Thanks Lucas, the cf1 support by 2.0.3723 doesnt show up in the release notes. I'll try the trial out on a dev system asap :) What are our options for getting a formal release ?

commented Aug 22, 2012 by Lukas Pokorny (102,250 points)
edited Aug 22, 2012

Renewing your support contract would enable access to past releases including 2.0.3723. Of course, you are welcome to first make sure it works before upgrading!

commented Aug 24, 2012 by phil_h (220 points)
edited Aug 24, 2012

Unfortunately, testing this has not gone well: 1. It required a bit more work than expected ! We had the option to use ftp in the product, which I've had to pull out as the ftp component wasnt in the fileset. 2. The first call to Sftp.BeginPutFile is failing with a NullReference Exception. This is long-standing production code, so is there some change in use since build 2896 - eg something that now has to be explicitly initialised ?

commented Aug 24, 2012 by phil_h (220 points)
edited Aug 24, 2012

For instance - the state parameter in BeginPutFile - does that have to be used now - in the (only) example it is set to 'true' ? (I've tried passing in a new object and 'true' and it makes no difference. Your online help is exceedingly terse.

commented Aug 24, 2012 by Lukas Pokorny (102,250 points)
edited Aug 24, 2012

It looks like the CF1 build of Rebex SFTP 2.0.3723.0 was somewhat broken. Sorry! I just sent you an e-mail with explanation and further instructions (with a subject of "Rebex SFTP: Version 1.5.2896 locking up").

commented Aug 28, 2012 by phil_h (220 points)
edited Aug 28, 2012

Amazing work Lukas, many thanks. I'm very impressed that you did this. I have built, test run and deployed onto a test site. How much 'trial time' do I have for this ?

...