Post a reply

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

jmgt

File Not Found

I use Windows Task Scheduler to run the following:
"C:\Program Files (x86)\WinSCP\WinSCP.exe"

Then add arguments below:
/log="E:\scripts\logs\company.log" /ini=nul /command "open sftp://xx-admin:xx@sftp.xx.com/ -hostkey=""ssh-xxx=""" "Put -delete E:\ftproot\company\*.* /uploads/" "exit"

When I run this task manually via Task Scheduler it works. When I let Task Scheduler run it on a schedule it fails to find any files. Attaching the log file. Could it be my lowercase e:\ in the file path?