Upload latest file with certain name

Advertisement

Daw
Guest

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!

Reply with quote

Advertisement

Advertisement

You can post new topics in this forum