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.
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!
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"
Thanks in advance!