Topic "Connect via proxy"

Author Message
Renaud

Guest


Hi,

I'm trying to get a file using sftp and winscp.com.

Here is my .bat
Code:

echo "Begin : (%date% %time%)" >> trace.log
"C:\Program Files\WinSCP\WinSCP.com" /script="Script.ftp"
echo "End : (%date% %time%)" >> trace.log
pause
exit


Here is my Script.ftp
Code:

open sftp://user:pwd@10.xx.xx.xx
cd /folder1/folder2/
get file.gz
exit


This work on my computer, but I need to do it on a computer with a proxy.

I did not find any documentation on how to set-up the proxy parameter.

Can you help me ?

Thank you.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25015
Location: Prague, Czechia
Please read FAQ:
https://winscp.net/eng/docs/faq_script_ini
_________________
Martin Prikryl
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