> But it doesn't seem to be extremely hard to build something like :
> - the Lazarus tree is put on a ftp server
> - inside the tree there is a file containing (for axemple) the list of
>    files and their md5 checksums
> - when a user clicks "Update Lazarus" , the program downloads
> the list of files
>    and compares it to what exists on the local machine. And
> then downloads
>    the files that were added or modified.
>
> Probably this is just an idea for the future : for Lazarus 1.0  and
> beyond ?   Right now
> Lazarus is under active development and updating through svn
> works just fine in my opinion .

I have made FtpArchiver in the past that scans a folder/subfolders for files
and folders that have the archive bit on and uploads those, then turns off
that bit after successful upload of each one. Windows OS turns on the
archive bit when you save a file, however they don't set the bit when you
make a new folder which is pretty unfortunate (have sent bug report for it
serveral times now)

I use it for my own offline websites to upload only changed pages to the
server

I could modify that one to do the job, don't remember though if it was
written with Indy or other older FTP library for Delphi that might not exist
for Laz (btw, I can also opensource the code of FTPArchiver if you guys
think such a tool is helpful)

Another thing is that for my needs doing it with Inno Setup (using Inno
Setup Extensions [ISX] via ISTool GUI would be quite easy, without even
writing any PascalScript [ISX allows one to write scripts too with
RemObjects PacalScript]), but that would be Windows-only solution

Also, is the online snapshot unpacked or packed in an archive? In the 2nd
case, what format is it and is there cross-platform Laz lib for that
archive? (zlib for .zip?)

----------------
George Birbilis ([EMAIL PROTECTED])
Computer & Informatics Engineer
Microsoft MVP J# for 2004-2006
Borland "Spirit of Delphi"
++ QuickTime, Delphi, ActiveX, .NET components ++
http://www.kagi.com/birbilis
++ Robotics ++
http://www.mech.upatras.gr/~Robotics
http://www.mech.upatras.gr/~robgroup




  _____  

avast! Antivirus <http://www.avast.com> : Outbound message clean. 


Virus Database (VPS): 0653-5, 05/12/2006
Tested on: 11/12/2006 9:40:03 ??
avast! - copyright (c) 1988-2006 ALWIL Software.



_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to