WatchDirectory Forum
http://www.watchdirectory.net/cgi-bin/yabb25/YaBB.pl
watchDirectory forums >> Plugins >> Moving files using FTP
http://www.watchdirectory.net/cgi-bin/yabb25/YaBB.pl?num=1122963028

Message started by jimaus on Aug 2nd, 2005 at 8:10am

Title: Moving files using FTP
Post by jimaus on Aug 2nd, 2005 at 8:10am
I would like to see an FTP plugin that copies and deletes on successful copy.

Title: Re: Moving files using FTP
Post by Gert on Aug 2nd, 2005 at 10:30am
There already is an "upload" plugin. Are you talking about a "download" variant?
That won't be easy to implement for the current version - we allow plugins to respond to events. To be able to download, I guess it would mean you set an "ftp site to monitor", instead of a directory....

Interesting idea, and only suggested a few hundred times before  8), it will be implemented in the next major release (5.0) - don't hold your breath.

Gert

Title: Re: Moving files using FTP
Post by Gert on Aug 3rd, 2005 at 3:56pm
Just in case you mean you want the file that was just uploaded to be deleted.....

http://www.watchdirectory.net/wdhelp/help/wdcc_version_history.html
and
http://www.watchdirectory.net/wdhelp/plugins/wdopAutoFtp.html.



Quote:
Interesting idea, and only suggested a few hundred times before  8), it will be implemented in the next major release (5.0) - don't hold your breath.


To be a little more specific, work on version 5, will start at the end of 2006 - earliest. I should also remember to not make these kind of promises...


Gert

Title: Re: Moving files using FTP
Post by jimaus on Aug 4th, 2005 at 7:33am
Gert,
Yes I did mean the file just uploaded to be deleted from the source.
Downloaded 400281, works a treat.

Thanks

Jim

Title: Re: Moving files using FTP
Post by drakon on Aug 8th, 2005 at 7:47am
I'd like to see a "Copy to" option instead of or along with the delete option...

Most files I upload, I need to archive.
Currently, I'm using a seperate batch file to move the FTP'd file to an Archive directory. This would be a nice feature indeed!

Title: Re: Moving files using FTP
Post by Gert on Aug 8th, 2005 at 7:53am
One of the main reasons for the new "plugin" architecture, is to create "simple" software. The more functionality you put inside one single plugin, the more complex it gets (and a lot harder to make sure it is bug-free).

I am thinking about the best solution for these kind of things, something like a plugin that can run multiple other plugins (with simple "if/then/else" functionality).

Gert

Title: Re: Moving files using FTP
Post by drakon on Aug 8th, 2005 at 7:56am
Yep, that would be best.
The way I do my batch files uses the "Call XXX.bat" function to do the same kind of thing.
:P

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