Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

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

cp713a

Re: Put -latest source dest

I do have access to this d:\uploadfolder, because I can mapped it with a different letter drive just fine. Plus, I have admin rights on this.
Even I used the full UNC path, like D:\uploadhere-server\sourcefolder\etc\etc\folder\
It's now saying that the System cannot find the path specified. Which is really weird, because I'm able to see it and map to it on a separate drive (Z: drive).
martin

Re: Put -latest source dest

The local account that runs your Scheduler task does not have permissions to access the c:\toupload folder.
Double check that.
cp713a

Put -latest source dest

Hi,
I tried this command 'put -latest c:\toupload\* /home/user/' from this page: https://winscp.net/eng/docs/script_upload_most_recent_file. I saved it in ex.txt file. Run this under Task Scheduler as follows: program/script as "C:\Program Files (x86)\WinSCP\WinSCP.exe", add arguments (optional as /log="c:\users\folder\scripts\winscp.log" /ini=nul /script="C:\users\folder\scripts\ex1.txt", start in c:\users\folder\scripts\. The script runs fine, but the log says:
Script: No file matching '*' found. (System Error. Code: 5.
< 2020-02-14 11:42:05.177 Access is denied)
Any help would be appreciated.