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

martin

Re: Script does not like -latest or -neweronly

The screenshot is from Windows ftp commandline client. Not WinSCP. Make sure you run winscp, not ftp.
gquast

Script does not like -latest or -neweronly

Relatively new to WinSCP. I'm trying to create a batch process to download 2 files from an outside vendor. I've used the GUI with Generate Code, copy/pasted that into my scripts but it does not run. No errors, the call to the script file does not appear to start. I've tried using different methods my other uses (get -neweronly "/BBCS/W0444/448/*.CSV") or another attempt using -latest in place of -neweronly, and it treats those as file names indicating it cannot locate the files. See attached.

Thoughts? I'm doing basically the identical process to get a different file from same vendor and it works fine.

Version 5.21.8 and I'm needing to upload using FTP not SFTP.