503 error in script - GUI works perfectly
I am attempting to automate a file transfer in WinSCP. I have a site set up in the GUI that works perfectly every time. When I generate a script using the Generate Code option I receive a 503 Service Unavailable error when I execute the script.
Any help figuring this out will be appreciate.
WinSCP version: 5.15.3 (Build 9730)
Windows Version: Windows 10 Version 1803 and Windows 10 Version 1903
Protocol: WebDAV
GUI: Commander (successful transfers)
Scripting: Unsuccessful -503 error
Error message: . 2019-08-21 07:37:47.509 [status-line] < HTTP/1.1 503 Service Unavailable
Script/Command line:
open davs://H2H-H2H:h2HhL7t3St@integration-stage.hospicelink.com:6544/
# open StateServ
lcd \\hh-hl7\c$\programdata\hl7connect\data\stateserv\upload
cd /H2H
put -delete *.txt
exit
# Execute the script using a command like:
# "C:\Program Files (x86)\WinSCP\WinSCP.exe" /log="C:\Users\public\documents\WinSCP.log" /ini=nul /script="C:\users\public\documents\StateServ.txt"
Bruce
Any help figuring this out will be appreciate.
WinSCP version: 5.15.3 (Build 9730)
Windows Version: Windows 10 Version 1803 and Windows 10 Version 1903
Protocol: WebDAV
GUI: Commander (successful transfers)
Scripting: Unsuccessful -503 error
Error message: . 2019-08-21 07:37:47.509 [status-line] < HTTP/1.1 503 Service Unavailable
Script/Command line:
open davs://H2H-H2H:h2HhL7t3St@integration-stage.hospicelink.com:6544/
# open StateServ
lcd \\hh-hl7\c$\programdata\hl7connect\data\stateserv\upload
cd /H2H
put -delete *.txt
exit
# Execute the script using a command like:
# "C:\Program Files (x86)\WinSCP\WinSCP.exe" /log="C:\Users\public\documents\WinSCP.log" /ini=nul /script="C:\users\public\documents\StateServ.txt"
Bruce