Get only if NOT 0 bytes, rename and then email.
Hi,
I have setup a script to use winscp /console /script=filename.bat. This works 100%! :)
1. There is always only 1 file in the remote directory to GET. Can you add a syntax to ignore and NOT copy the remote file if it's 0 bytes?
2. Can you then add a syntax to rename the file with today's date?
3. Can you then add a syntax to send an email notification when a file has been copied?
Thanks
Chris
I have setup a script to use winscp /console /script=filename.bat. This works 100%! :)
1. There is always only 1 file in the remote directory to GET. Can you add a syntax to ignore and NOT copy the remote file if it's 0 bytes?
2. Can you then add a syntax to rename the file with today's date?
3. Can you then add a syntax to send an email notification when a file has been copied?
Thanks
Chris