Script - Check if file exists on local drive before downloading
Hi,
Currently have a Batch file which downloads .CSV files from my SFTP to local file fine.
After handling the .CSV, it gets moved to a "processed" file.
I would ask if it is possible to add the the batch script which checks if the file exists locally in the "processed" file, before enable downloading from the SFTP site to the oringal file location.
Many thanks.
Currently have a Batch file which downloads .CSV files from my SFTP to local file fine.
After handling the .CSV, it gets moved to a "processed" file.
I would ask if it is possible to add the the batch script which checks if the file exists locally in the "processed" file, before enable downloading from the SFTP site to the oringal file location.
Many thanks.