searching for host

Advertisement

fjbass78
Joined:
Posts:
6

searching for host

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

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
28,306
Location:
Prague, Czechia

Re: searching for host

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

Reply with quote

Advertisement

fjbass78
Joined:
Posts:
6

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?

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
28,306
Location:
Prague, Czechia

fjbass78 wrote:

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?
You have to upgrade to the latest version of WinSCP.

Reply with quote

Advertisement

You can post new topics in this forum