Post a reply

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

fjbass78

Thanks Martin, that works nice!
martin

You have to upgrade to the latest version of WinSCP.
fjbass78

I'm not seeing the script tab. I only see the Generate URL option. how do I get tot he Script Tab to generate the WinSCP script?
martin

Re: searching for host

In GUI, you are using SOCKS5 proxy. In scripting you are connecting directly.

Have WinSCP GUI generate a script file template with proxy settings for you:
https://winscp.net/eng/docs/ui_generateurl#script
fjbass78

here are the logs
martin

Re: searching for host

Show us a complete session log file both from GUI and the script.
fjbass78

Searching for host in script, but works in GUI

Trying to connect to an SFTP site using a bat file that calls a script.
I'm able to connect via the WinSCP GUI but when launching the bat file, a DOS screen tells me "searching for host" then closes with out connecting.
Here's the script file I'm using: What do I have wrong?
option batch abort
option confirm off
 
open sftp://Account:password@FTX-SERVSH.bnymellon.com/ -hostkey="ssh-rsa-9e-c2-dd-6d-86-a6-30-56-9d-ea-99-de-ff-c3-5f-2d"
 
synchronize remote \\amna1wgraapx01\apx$\rep\jpmDailyReports\ /advent