Topic "sFTP Script to Connect Through Firewall?"

Author Message


I currently use an FTP script to connect to a vendor's FTP site, download a file and then delete that file from the source. The script is scheduled via SQL Server. A sample is attached. I need to create an sFTP script to accomplish this task. I'm a complete newbie at sFTP. I've attached a sample of our FTP script. The first three lines are the firewall connection.

My vendor sent me the connection info for their sFTP site, and a sample script. The script does not account for our firewall and therefore doesn't work.

How do I use sFTP through a firewall?

Thanks in advance...
ftpRA.txt (252 Bytes) [Download]

Description: (none)

[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 27068
Location: Prague, Czechia
Your firewall functions as FTP proxy, what the script makes use of. The firewall may function as SSH server allowing port forwarding possible as an alternative for SFTP, theoretically. But that's difficult to tell. You should contact your firewall administrator.
Martin Prikryl

You can post new topics in this forum


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!


About donations

$9   $19   $49   $99

About donations


WinSCP Privacy Policy

WinSCP License