File name issue with Script
Hello,
I am using the below script to download a file everyday:
# Connect to SFTP server using a password
open FTP DETAILS
# Download file
get /*.zip c:\temp\backup.zip
# Exit WinSCP
The problem is that every time I run the file it asks me to overwrite or rename the file as the name already exists.
is it possible to add in a command to automatically add in the date so that it downloads without an issue?
Many Thanks
Ryan
I am using the below script to download a file everyday:
# Connect to SFTP server using a password
open FTP DETAILS
# Download file
get /*.zip c:\temp\backup.zip
# Exit WinSCP
The problem is that every time I run the file it asks me to overwrite or rename the file as the name already exists.
is it possible to add in a command to automatically add in the date so that it downloads without an issue?
Many Thanks
Ryan