I'm trying to get a file using sftp and winscp.com.
Here is my .bat
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
open sftp://user:firstname.lastname@example.org 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 ?