EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Error in ElSimpleSFTPClient.DownloadFile ?

Also by EldoS: CallbackDisk
Create virtual disks backed by memory or custom location, expose disk images as disks and more.
#1463
Posted: 10/18/2006 04:11:04
by Reijo Pitkanen (Standard support level)
Joined: 10/17/2006
Posts: 12

Hi!
I am trying to port Eldos C# simplesftpDemo to windows CE 5.0 device.
So, I use SecureBlackbox.NET Assemblies for NET CF2.0.
SecureBlackbox version is 4.4.0.94. and development environment is VS 2005.

I have advanced so far so, that I can get connected to my Linux server and I can upload files from the CE device to the Linux Box.
But when trying to Download any file from the server to the device using TElSimpleSFTPClient's DownloadFile method, I get "IndexOutOfRangeException" immediately after calling the DownloadFile method.

When trying this same demo (SimpleSftpDemo_VS2005) in Windows Xp PC using SecureBlackbox mono 2.0 assemblies, I apparently run into the very same error with message: "Error during download: Index was outside the bounds of the array".

I think that the connection is OK and the TElSimpleSFTPClient.downloadfile caLL parameters are correct.

Any ideas?

#1464
Posted: 10/18/2006 04:33:11
by Ken Ivanov (EldoS Corp.)

Thank you very much for letting us know about the issue.

This behaviour seems to be caused by a bug in DownloadFile() method. We plan to publish a new build update (5.0.99) today or tomorrow, so I suggest you to wait until it is available and upgrade to it. It will solve the issue you are reporting.
#1465
Posted: 10/19/2006 02:25:07
by Reijo Pitkanen (Standard support level)
Joined: 10/17/2006
Posts: 12

Thanks for Your fast reply!
Could You please check for alike array handling bugs from other routines in the SedcureBlackbox.net package also?

Atleast TElSSHKey.LoadPrivateKey((string PrivateKeyFile, string Passphrase) method throws IndexOutOfRangeException.

#1466
Posted: 10/19/2006 02:52:44
by Ken Ivanov (EldoS Corp.)

Hmm, the LoadPrivateKey() method works fine for us. Probably, the problem you're reporting was already solved in one of the previous builds.

Please wait until 5.0.99 is available, upgrade to it and check if the issue appears with it.
#1474
Posted: 10/20/2006 00:47:38
by Reijo Pitkanen (Standard support level)
Joined: 10/17/2006
Posts: 12

Testing with version 5.0.99 stops at SftpClient.Open() with "MissingMethodException". Last entry in Stacktrace is SBSSHClient.TElSSHClient.SSH2ParseKexInit().
Previosly connection was established just fine with version 4.4.94.
Version 5.0.98 throws also the same MissingMethodException.
#1476
Posted: 10/20/2006 02:20:38
by Ken Ivanov (EldoS Corp.)

Please check that your application references correct DLLs, i.e. that some old (4.4.94) assembly is not accidentally referenced/used.
#1478
Posted: 10/20/2006 02:51:46
by Reijo Pitkanen (Standard support level)
Joined: 10/17/2006
Posts: 12

All DLLs are version 5.0.99.
MissingMethodException is occuring only when attempting to use keyboard-interactive auth.
#1479
Posted: 10/20/2006 02:59:06
by Ken Ivanov (EldoS Corp.)

Hmm, it's quite strange. Does the problem appear on both .NET CF and .NET platforms?
#1480
Posted: 10/20/2006 03:05:58
by Eugene Mayevski (EldoS Corp.)

Quote
Reijo Pitkanen wrote:
Testing with version 5.0.99 stops at SftpClient.Open() with "MissingMethodException". Last entry in Stacktrace is SBSSHClient.TElSSHClient.SSH2ParseKexInit().


What is the name of the missing method? The exception information should contain one.


Sincerely yours
Eugene Mayevski
#1481
Posted: 10/20/2006 03:21:56
by Reijo Pitkanen (Standard support level)
Joined: 10/17/2006
Posts: 12

I am testing in windows CE 5.0 device and it seems that CF2.0 exception does not include the method name in the exception message.
Also by EldoS: CallbackRegistry
A component to monitor and control Windows registry access and create virtual registry keys.

Reply

Statistics

Topic viewed 14126 times

Number of guests: 1, registered members: 0, in total hidden: 0




|

Back to top

As of July 15, 2016 EldoS Corporation will operate as a division of /n software inc. For more information, please read the announcement.

Got it!