Well ideally the mirror would be updated as soon as possible after it is
updated on this end. Is it possible for your machine to monitor a remote
directory via SSH, then automatically mirror it to your local directory,
and then to the mirror?

On Fri, Jan 27, 2006 at 01:55:57PM -0600, Patrick Meade wrote:
> Ian Clarke wrote:
> > Thanks Patrick,
> > 
> > This is great.  We need to figure out some kind of automatic  mirroring
> > system now - Nextgens - any ideas?
> > 
> > Ian.
> 
> Well, I can cobble together a personal mirroring system easy enough:
> 
> 1. Freenet posts an http URL, be it public or just for my private
> mirroring purposes.
> 
> 2. Windows runs "wget" on a scheduled task; it downloads from the http
> and drops it on a specific directory on my system.
> 
> 3. WinSCP has a built-in command to watch a local directory and
> synchronize to remote. After the file is dropped in my local directory,
> WinSCP connects to my account at UW-Madison, uploading the file to my
> webspace.
> 
> 4. The file would then be available to the world at:
> http://www.cs.wisc.edu/~meade/freenet/<insert filename here>
> 
> A couple of notes:
> 
> 1. I'm behind a cable modem at home, and the connection is pretty
> reliable, so no issues with having the system run 24/7.
> 
> 2. wget supports wildcards, so filename changes shouldn't be an issue.
> 
> 3. As old versions get recycled out due to obsolesce, I can change the
> file to a softlink to the latest version. Obviously the computer isn't
> smart enough to figure out which versions are obsolete on its own, so
> this part will have to be manual. (Unless of course, only the very
> latest version isn't obsolete. :-))
> 
> If you need to have the mirroring mechanism on your side, then I'll need
> to approach the CS department at the University. I don't think they'll
> mind if I use my account space to promote interesting research projects
> like Freenet; they will mind if I give away my account password.
> 
> In any case, perhaps I should do both. If we have an immediate mirroring
> need, I can get this system up in about an hour and we'll have a
> functional mirror. After that, I can put in a request for an official
> mirror from the CS department.
> 
> Just let me know the route you'd like to take.
> 
> Patrick Meade
> meade at cs.wisc.edu
> _______________________________________________
> Tech mailing list
> Tech at freenetproject.org
> http://emu.freenetproject.org/cgi-bin/mailman/listinfo/tech

-- 
Matthew J Toseland - toad at amphibian.dyndns.org
Freenet Project Official Codemonkey - http://freenetproject.org/
ICTHUS - Nothing is impossible. Our Boss says so.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: 
<https://emu.freenetproject.org/pipermail/tech/attachments/20060127/a28065ce/attachment.pgp>

Reply via email to