Re: Host "root" does not exist while doing automation backup using winSCP
That's not a log. That a console output. My post above details how to collect the logs.
Before posting, please read how to report bug or request support effectively.
Bug reports without an attached log file are usually useless.
/log=C:\path\to\winscp.log
command-line argument. Submit the log with your post as an attachment. Note that passwords and passphrases not stored in the log. You may want to remove other data you consider sensitive though, such as host names, IP addresses, account names or file names (unless they are relevant to the problem). If you do not want to post the log publicly, you can mark the attachment as private.option batch abort
option confirm off
open %1% -hostkey="%2%"
synchronize local %3% "%4%"
exit
rem S01
winscp.com /ini=nul /script=SyncToLocalScript.txt /parameter sftp://root:xxxxxxxxxxxx@xxx.xxx.xxx.xxx:xx "ssh-ed25519 255 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=" "D:\Backup\S01VM" //backup/
Host "root" does not exist.
The filename, directory name, or volume label syntax is incorrect.