EldoS | Feel safer!

Software components for data protection, secure storage and transfer

sFTP in CF2.0

Also by EldoS: CallbackDisk
Create virtual disks backed by memory or custom location, expose disk images as disks and more.
#7254
Posted: 08/07/2008 00:39:25
by Eugene Mayevski (EldoS Corp.)

Did you notice Dmytro's point that you don't create an object?



Sincerely yours
Eugene Mayevski
#7259
Posted: 08/07/2008 10:21:17
by kcee b (Basic support level)
Joined: 08/06/2008
Posts: 8

Hey Eugene and Dmytro

Sorry guys if I sounded a little bitter in the previous post.(I was a little tired I guess)

Anyways, I thought having "Withevents" was creating an object for some reason but, if I am correct, it is just notifying VS2005 that the object, according to my code, is going to use some event handlers. (Please correct me if I am wrong.)
But I am confused on how to create an object of type SftpClient and somehow associate it to withevents.
Or should I refer to the SftpClient as Me.SftpClient to remedy this issue?



Quote
Quote
Please, check in Output Window if the correct assemblies are deployed (not from GAC).
P.S. In your code I don't see where SftpClient object is created.


It is declared in the upper portion of the class implementation

Public Class Form1
Private KeyStorage As TElSSHMemoryKeyStorage
Friend WithEvents SftpClient As SBSimpleSftp.TElSimpleSFTPClient
#7261
Posted: 08/07/2008 10:33:28
by Eugene Mayevski (EldoS Corp.)

Check the file frmMain.vb in

<SecureBlackbox.NET>\Samples\VB.NET\SFTPBlackbox\Client\SophisticatedClient\

This will show you how this stuff is created.


Sincerely yours
Eugene Mayevski
#7262
Posted: 08/07/2008 11:22:28
by kcee b (Basic support level)
Joined: 08/06/2008
Posts: 8

I sure will.

Thanks Eugene
Kev
#7266
Posted: 08/08/2008 11:27:20
by Eugene Mayevski (EldoS Corp.)

BTW you don't need to reference SecureBlackbox.SFTPServer.dll if you create an SFTP client.


Sincerely yours
Eugene Mayevski
Also by EldoS: CallbackProcess
A component to control process creation and termination in Windows and .NET applications.

Reply

Statistics

Topic viewed 5964 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!