EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Use proxy with TelSimpleSFTPClient

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.
#11671
Posted: 11/13/2009 17:34:23
by Rene Balvert (Standard support level)
Joined: 11/13/2009
Posts: 2

Hi,

one of our customers needs to connect through a proxy and needs an urgent change.

We are using the SBSimpleSftp.TElSimpleSFTPClient to connect, but I cannot find how to use a proxy (there is info in the ElSimpleFTPSClient).

The instruction is:

connect to
> Proxy: proxy1.intra.xxxxxxxx.xx
> Poort: 1080

How should we change this in our existing code:


this.SftpClient = new SBSimpleSftp.TElSimpleSFTPClient();
SftpClient.CompressionLevel = 6;

SftpClient.AuthenticationTypes = SftpClient.AuthenticationTypes & (~SBSSHConstants.Unit.SSH_AUTH_TYPE_PUBLICKEY);

SftpClient.Username = User;
SftpClient.Password = Password;
SftpClient.Address = Server;
SftpClient.Port = 22;
SftpClient.Open()


Any help welcome.

Regards,

Rene
#11677
Posted: 11/14/2009 00:01:12
by Ken Ivanov (EldoS Corp.)

Please assign the license ticket you have received in the registration letter to your account so that we could identify you as a customer and thus provide a Standard support level.
#11694
Posted: 11/16/2009 14:01:56
by Rene Balvert (Standard support level)
Joined: 11/13/2009
Posts: 2

Hi Ivanov,

I am not sure what number you need.

Our order number is: 92998545
Ordered on 4-12-2006 bought on share-it invoice no. e5-DE-2006-00001052258

If you need any info please send me your personal mail of phone number and I can contact you.

Rene
#11700
Posted: 11/17/2009 02:23:30
by Eugene Mayevski (EldoS Corp.)

Moved to HelpDesk.


Sincerely yours
Eugene Mayevski
#11701
Posted: 11/17/2009 02:48:10
by Eugene Mayevski (EldoS Corp.)

Now about your question.

What you have is a SOCKS proxy. So you need to set UseSOCKS property to true, then adjust Socks* properties.


Sincerely yours
Eugene Mayevski
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.

Reply

Statistics

Topic viewed 1562 times

Number of guests: 2, 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!