[delphizip] Re: Resuming a cancelled zip operation

  • From: "Russell Peters" <russellpeters@xxxxxxxxxxx>
  • To: <delphizip@xxxxxxxxxxxxx>
  • Date: Wed, 1 Jan 2003 16:12:49 +1100

I thank that if (quite likely) I can make it stop adding more files (after a
cancel) and make it complete the details for a proper zipfile then the
moment (well a little while after) you set the zipfilename you have a list
of the files done.
You don't really need to do anything special to restart unless you tell it
not to, it will use the files already zipped and add the rest.
Russell Peters
http://www.users.bigpond.com/russellpeters/delphizip.html
----- Original Message -----
From: "James Turner" <james.d.h.turner@xxxxxxxxxxxx>
To: <delphizip@xxxxxxxxxxxxx>
Sent: Wednesday, January 01, 2003 9:30 AM
Subject: [delphizip] Re: Resuming a cancelled zip operation


>
> Alistair,
>
> Firstly, I'm away from my own computer at the moment so I can't verify
what I'm about to say.
>
> From memory, there is a property call something like FExclArgs that can
contain a list of files that should be excluded from a zip operation. If you
wish to suspend an operation in a manner that may be resumed later, you
firstly need to track which files have already been added. This must be done
by using the OnProgress event. If the zip operation is cleanly interrupted,
leaving a valid zip file, all that is required, in theory, is to resume the
zip operation with the previous value for FSpecArgs, etc. and use the list
of files already added as FExclArgs.
>
> I am uncertain whether latest versions of ZipMaster will allow zip
operations to be interrupted whilst still creating a valid zip file. There
was a discussion on this subject a while back but I cannot remember the
outcome.
>
> --James Turner
>
> >
> > From: Alistair George <bigal@xxxxxxxxxx>
> > Date: 2002/12/31 Tue PM 06:20:15 GMT
> > To: "james.d.h.turner@xxxxxxxxxxxx" <delphizip@xxxxxxxxxxxxx>
> > Subject: [delphizip] Re: Resuming a cancelled zip operation
> >
> >
> > Hello james,
> > QUOTE:
> > If  this  list  were  created  from  an event handler attached to the
OnProgress
> > event,  it  should  be  possible to resume an jdhtnc> interrupted zip
operation.
> > This isn't perfect but might be useful.
> >
> > Hi James. It is new years day here, so my brain is a wee bit degraded
hence not
> > sure what you mean by the above. How would the exclude list be used to
provide a
> > status?
> >
> >
> >
> > --
> > Regards,
> >  Alistair+
> >
> >
> >
>
>
>



Other related posts: