EldoS | Feel safer!

Software components for data protection, secure storage and transfer

sFTP in CF2.0

Also by EldoS: CallbackRegistry
A component to monitor and control Windows registry access and create virtual registry keys.
#7254
Posted: 08/07/2008 00:39:25
by Eugene Mayevski (Team)

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 (Team)

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 (Team)

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


Sincerely yours
Eugene Mayevski
Also by EldoS: CallbackFilter
A component to monitor and control disk activity, track file and directory operations (create, read, write, rename etc.), alter file data, encrypt files, create virtual files.

Reply

Statistics

Topic viewed 6414 times

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




|

Back to top

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

Got it!