Topic "Trying to access FTP behind a firewall"

Author Message
yaguarete79
[View user's profile]

Joined: 2015-04-21
Posts: 1
Location: Uruguay
Hi, I'm using WinScp library SessionOptions with the following code:

SessionOptions sessionOptions = new SessionOptions
{
Protocol = Protocol.Sftp,
HostName = txtUrlAConectar.Text,
UserName = txtusuario.Text,
Password = txtpasswordftp.Text,
SshHostKeyFingerprint = txtkeydeseguridad.Text
};

I'm opening session with its options, but how can I set the outgoing firewall values?
I mean, I'm behind a firewall trying to get out and then finally reach the sftp server.
Is there any option in SessionOptions to set firewall username and password? I've already have an open port at that firewall, opened by the Firewall Administrator. I'm just needing to specify those three parameters: username, password and port, when I attempt connection.

Thank you!
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24512
Location: Prague, Czechia
Please read documentation:
http://winscp.net/eng/docs/rawsettings

If that does not help, come back.
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License