im totally stuck on this :(
i have a script which:
1) connect to remote supplier.
2) synchronize remote files and sub folders from this supplier to my local windows folder.
after i sync all files, i have a system that take the files from the local windows folder and delete them.
this cause the following issue, the script run every few seconds and notice that the local folder is empty and re-synchronize.
thus i get the same file over and over again.
is there a way to delete remote files after sync?
i swear i couldnt find a solution for this, only a powershell script which i couldnt get to work.
please help :(