WatchDirectory Forum
http://www.watchdirectory.net/cgi-bin/yabb25/YaBB.pl
watchDirectory forums >> Plugins >> Add a copy and delete plugin
http://www.watchdirectory.net/cgi-bin/yabb25/YaBB.pl?num=1122332736

Message started by jimaus on Jul 26th, 2005 at 1:05am

Title: Add a copy and delete plugin
Post by jimaus on Jul 26th, 2005 at 1:05am
I would like to see a copy and delete plugin created, using either copy or ftp to copy the files

The files would not be deleted from the source until a successful copy had been completed.

Title: Re: Add a copy and delete plugin
Post by Gert on Jul 26th, 2005 at 7:03am
"Copy and Delete", that sounds like "move".

What you could do now, with the current plugins, is configure 1 task with the copy plugin, and another with the delete plugin.
Use the scheduling options of WD Pro to delay the "delete" task by a few minutes.
However this will also delete if the copy has previously failed.

I can add a "delete after copy" checkbox to the existing autocopy plugin.

Gert

Title: Re: Add a copy and delete plugin
Post by Gert on Jul 27th, 2005 at 7:13pm
The current download has added this option (a checkbox on the "auto copy" plugin to remove the files that have been copied successfully.

Gert

Title: Re: Add a copy and delete plugin
Post by jimaus on Aug 2nd, 2005 at 7:57am
Move plugin works fine, thanks.

Title: Re: Add a copy and delete plugin
Post by Gert on Aug 2nd, 2005 at 10:31am
Great!

I thought of an improvement myself (later this or next month): allow more than 1 "target" directory.

Gert

WatchDirectory Forum » Powered by YaBB 2.5.2!
YaBB Forum Software © 2000-2017. All Rights Reserved.