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

Daw

Upload latest file with certain name

Greetings all

I have a script I currently use but I need to add something and not quite sure how.
It currently uploads the latest file in a folder.
/log=C:\folderupload\logUpload.log /command "open sftp://login:pass/" "put -latest C:\folder\* /Signalitiek.csv " "exit"

But now I need to add it may only upload the latest file if the name of the file starts with "exportpower".

Thanks in advance!