Network Unreachable error Message using scripting

Advertisement

Sgaines13
Joined:
Posts:
1

Network Unreachable error Message using scripting

Batch file command:
winscp.com /command "option batch abort" "option confirm off" ""open sftp://login:password@address -hostkey=""*******************" "" "put ""location\Test.csv""" "exit"

Get error message: Network unreachable - when run batch file

Can login to WinSCP client and connect SFTP without a hostkey and transfer manually, but want to automate.
Verified Hostkey to use in batch file.
Please advise. Thanks

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
41,442
Location:
Prague, Czechia

Re: Network Unreachable error Message using scripting

Please compare session logs from GUI and scripting to find what makes the difference. If you cannot resolve this on our own, please attach both (complete) logs.

Reply with quote

Advertisement

You can post new topics in this forum