View previous topic :: View next topic |
Author |
Message |
pragma
Joined: 28 May 2004 Posts: 607 Location: Washington, DC
|
Posted: Tue Jun 21, 2005 10:58 am Post subject: "FTPSync" |
|
|
I have a prototype application (in D) that syncronizes a local filesystem directory with a directory located on an FTP server. Currently, the code is Windows only, and works reasonably well. Creation, deletion, modification and renaming of directories and files are all reflected on the remote server in the background, so I never have to touch an FTP client again.
I would like to use this to seed an open source project here, but I need a better name for the project: there is aleady a commercial app called "FTPSync". Other names that have been tossed around are "Watcher" and "Fwatch".
I can see something like this growing into a mature tool along the lines of rsync. Future features will likely include an rsync-like capability to compare file timestamps for full syncronization at the start of a sesssion: something it doesn't do at the present time. Also, I don't see any reason why this also couldn't be made to work with SVN as well. _________________ -- !Eric.t.Anderton at gmail |
|
Back to top |
|
|
brad Site Admin
Joined: 22 Feb 2004 Posts: 490 Location: Atlanta, GA USA
|
Posted: Tue Jun 21, 2005 10:05 pm Post subject: |
|
|
So from your other post, I'll set this up as Watcher. Gimme a bit. |
|
Back to top |
|
|
pragma
Joined: 28 May 2004 Posts: 607 Location: Washington, DC
|
Posted: Wed Jun 22, 2005 8:24 am Post subject: |
|
|
Excellent.
I suppose "Watcher" is as good a name as any. Just let me know when you have things configured for SVN. _________________ -- !Eric.t.Anderton at gmail |
|
Back to top |
|
|
brad Site Admin
Joined: 22 Feb 2004 Posts: 490 Location: Atlanta, GA USA
|
Posted: Thu Jun 23, 2005 12:30 am Post subject: |
|
|
pragma wrote: | Just let me know when you have things configured for SVN. |
All set. |
|
Back to top |
|
|
qbert
Joined: 30 Mar 2004 Posts: 209 Location: Dallas, Texas
|
Posted: Thu Jun 23, 2005 2:34 pm Post subject: |
|
|
Quote: | I can see something like this growing into a mature tool along the lines of rsync. Future features will likely include an rsync-like capability to compare file timestamps for full syncronization at the start of a sesssion: something it doesn't do at the present time. Also, I don't see any reason why this also couldn't be made to work with SVN as well. |
Very cool , I could really use this . I like the name FTPSynch over Watcher though , just my opinion.
Charlie |
|
Back to top |
|
|
pragma
Joined: 28 May 2004 Posts: 607 Location: Washington, DC
|
Posted: Fri Jun 24, 2005 8:50 am Post subject: |
|
|
qbert wrote: |
Very cool , I could really use this . I like the name FTPSynch over Watcher though , just my opinion.
Charlie |
I'd prefer that name, or fsync as well. Problem is, both are already taken for either well-known utils or commerical products.
Besides, "Watcher" gives the app a little more elbow room in case it ever gets to take on a larger role.
Anyway, you can grab the Alpha (binary and source) here:
http://svn.dsource.org/projects/dsp/downloads/watcher.zip
It has some bugs and quirks, but is essentially usable. _________________ -- !Eric.t.Anderton at gmail |
|
Back to top |
|
|
pragma
Joined: 28 May 2004 Posts: 607 Location: Washington, DC
|
Posted: Fri Jun 24, 2005 8:51 am Post subject: |
|
|
brad wrote: | pragma wrote: | Just let me know when you have things configured for SVN. |
All set. |
Thank you Brad. You just made my day. _________________ -- !Eric.t.Anderton at gmail |
|
Back to top |
|
|
csauls
Joined: 27 Mar 2004 Posts: 278
|
Posted: Fri Jul 01, 2005 9:38 pm Post subject: |
|
|
You know, its very ironic (appropriate?) that you started this project... as I was quite literally just (as in a couple of days ago) finding myself wanting such a thing and starting to plan writing it. Then I come visit dsource only to find that its been started for me. Definitely expect me fooling around with it.
One thing I was thinking of in my own project idea, and was wondering if you'd thought the same, was trying to write the FTP components as a stand-alone library. It would be rather nice to a have a general-purpose FTP lib for D. I'd even thought about writing one as an extension to Mango (cashew.ftp.*) and submit it to Kris.
Thoughts? _________________ Chris Nicholson-Sauls |
|
Back to top |
|
|
pragma
Joined: 28 May 2004 Posts: 607 Location: Washington, DC
|
Posted: Tue Jul 05, 2005 9:09 am Post subject: |
|
|
csauls wrote: | You know, its very ironic (appropriate?) that you started this project... as I was quite literally just (as in a couple of days ago) finding myself wanting such a thing and starting to plan writing it. Then I come visit dsource only to find that its been started for me. Definitely expect me fooling around with it. |
I'm quite happy to hear that. Just please bear with me as it still has its quirks. Also, please feel free to hack it up and back-commit any improvments you like.
Quote: |
One thing I was thinking of in my own project idea, and was wondering if you'd thought the same, was trying to write the FTP components as a stand-alone library. It would be rather nice to a have a general-purpose FTP lib for D. I'd even thought about writing one as an extension to Mango (cashew.ftp.*) and submit it to Kris. |
Now that's creepy. Currently, all of the FTP commands are nestled safely inside of an FTPClient class. It sits squarely on top of mango.io.SocketConduit, and encapsulates some basic FTP commands.
I don't see why it FTPClient couldn't become a part of Mango. _________________ -- !Eric.t.Anderton at gmail |
|
Back to top |
|
|
|