Post a reply

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

Gwynbleidd

Re: delete remote files in special situations

martin wrote:

Gwynbleidd wrote:

i swear i couldnt find a solution for this, only a powershell script which i couldnt get to work.

OK, so you did find a solution for this.
So maybe you should ask a question about your problem with the script you have found.


im not an expert in powershell so i couldnt get it to work + i rather use the script method.

in the end i used put + get for each sub folder and exclude the folders in the root :(
martin

Re: delete remote files in special situations

Gwynbleidd wrote:

i swear i couldnt find a solution for this, only a powershell script which i couldnt get to work.

OK, so you did find a solution for this.
So maybe you should ask a question about your problem with the script you have found.
Gwynbleidd

delete remote files in special situations

hey guys,

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 :(