EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Unclear about TEISimpleSFTPClient.Active property

Also by EldoS: Callback File System
Create virtual file systems and disks, expose and manage remote data as if they were files on the local disk.
Posted: 03/20/2013 14:08:14
by Michael Lovett (Standard support level)
Joined: 03/20/2013
Posts: 28

I'm new to BlackBox and I'm a bit confused over the Active property to TEISimpleSFTPClient.

The docs says that "...if Active is false, the tunnel has not been created and you should not call object methods".

Well, what's the app supposed to do if Active is false.. Treat it as an error? Wait a while and check it again later?

The "use case" of Active being false is not very clear to me..

Any insights would be appreciated.
Posted: 03/20/2013 14:15:15
by Eugene Mayevski (EldoS Corp.)

Thank you for contacting us.

Well, if you don't see any use in such property, then just don't use it :). Seriously, there are plenty of properties in the component which are not used in 95% of cases. In particular, Active property is not much useful either and was added as a convenient method to check if the component is namely active OR if there's a need to use Open method and establish connection first.

Sincerely yours
Eugene Mayevski



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