Code Comments
Programming Forum and web based access to our favorite programming groups.I would like to automate the synchronization of files on my web site and my computer. Is there any Smalltalk code to do that? I would appreciate any help very much. Thanks, Aik-Siong Koh
Post Follow-up to this message"askoh" <askoh@askoh.com> wrote: >I would like to automate the synchronization of files on my web site >and my computer. Is there any Smalltalk code to do that? I would >appreciate any help very much. > >Thanks, >Aik-Siong Koh You could roll your own.. but it might be easier to use a tool like http://www.superflexible.com/ Ian --- http://www.upright.net/ian/
Post Follow-up to this messageDear Askoh > I would like to automate the synchronization of files on my web site > and my computer. Is there any Smalltalk code to do that? I would > appreciate any help very much. 1) Apologies if this is obvious and/or not relevant to what you need to do, but FWIW: You could use Cees de Groot's VersionedDirectory extensions to David Pennell's 'File Repository' to integrate patch update with file synchronisation. If your remote web site is powered by Smalltalk, and is unstripped, then you can supply the VersionedDirectories in a patch parcel with the appropriate postLoad action. The remote site's files will be synched with local when it loads the patch. Your local VersionedDirectory will see when your local files have changed, so can trigger patch upload, which can be done by whatever mechanism suits - by hand, reuse the one in BottomFeeder, roll your own, ... (If the remote site does not have unstripped Smalltalk running it will not be able to parse the file methods in the parcels, If you can drive the export of files from Smalltalk, you could still subclass VersionedDirectory to act as an updater. An image on your local machine could recognise when files in a local directory had changed, thence export changed ones.) I suspect Cees knows far more than I about this. Maybe he already uses it this way. Be aware that at the moment you must load RBSUitExtensions before loading File Repository, since the latter changes the name of the code tool that the former ss to wrap. 2) FYI, Punch, formerly Kangaroo, was a commercial Smalltalk product called Kangaroo. It may be far too high-powered for your needs and I know nothing of its current state http://www.punchnetworks.com/compan...sp?pnid=730030. Yours faithfully Niall Ross
Post Follow-up to this message
Show a Printable Version
Email This Page to Someone!
Receive updates to this thread
Powered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.