Im using Powershell + WinSCPnet.dll in order to automate a file download.
Problem is that its not everyday that a file gets uploaded.
The script itself works fine with downloading the file, moving existing file to another folder and renaming it but i want the script to check if the file exist.
If the file exist i want the script to keep going.
If the files does not exist i want the script to abort.
Could anybody help me with this?
Last edited by MARTiN95 on 2019-02-18 14:20; edited 1 time in total