Windows 10 FTP transfer connection failed
WinSCP Version 5.19.5 (Build 11933 2021-11-25)
(OS 10.0.19043 - Windows 10 Enterprise)
I have a scheduler task set up to run as my logon (
It runs a batch file which executes a WinSCP script.
If I right click on the scheduled task and select "Run" the task runs and completes successfully.
If I am working on the PC when the scheduled task is triggered it runs successfully.
BUT if I am logged off or the PC wakes from sleep mode to run the task it fails.
Attached is a log showing first, the overnight failure and next what happens if I right click on the scheduled task and select run.
I have reviewed, as far as I can, the trouble shooting suggestions as to how to identify why this fails but with no success.
Ant suggestions as to how I can investigate further?
Batch file:
WINSCP script:
(OS 10.0.19043 - Windows 10 Enterprise)
I have a scheduler task set up to run as my logon (
ACERVERITON\john_
), which is also an admin account.
It runs a batch file which executes a WinSCP script.
If I right click on the scheduled task and select "Run" the task runs and completes successfully.
If I am working on the PC when the scheduled task is triggered it runs successfully.
BUT if I am logged off or the PC wakes from sleep mode to run the task it fails.
Attached is a log showing first, the overnight failure and next what happens if I right click on the scheduled task and select run.
I have reviewed, as far as I can, the trouble shooting suggestions as to how to identify why this fails but with no success.
Ant suggestions as to how I can investigate further?
Batch file:
"C:\Program Files (x86)\WinSCP\WinSCP.exe" /log="\temp\ROG_WINSCP_full_backup.log" /ini=nul /script="\Users\john_\OneDrive\Scripts\ROG_WINSCP_backup.txt" > "\temp\ROG_WINSCP_session_backup.log"
open "ftp://***********.uk:**********@ftp.***********.uk/" -rawsettings ProxyPort=1 synchronize local "T:\ROG -Backup\SQL_dump" "/SQL_dump" -transfer=binary -criteria=time synchronize local "T:\ROG -Backup\public_html" "/public_html" -transfer=binary -criteria=time close open "s3://AKIAS6Q******B7DQZ:****************@s3.amazonaws.com/" synchronize remote "T:\ROG -Backup\SQL_dump" "/2020-royalobservatorygreenwich.org/sql_dump" -transfer=binary -criteria=time synchronize remote "T:\ROG -Backup\public_html" "/2020-royalobservatorygreenwich.org/public_html" -transfer=binary -criteria=time close exit