[delphizip] Re: Problem with setting ZipFileName

  • From: "Mike Bennett" <m.bennett@xxxxxxxxxxxx>
  • To: <delphizip@xxxxxxxxxxxxx>
  • Date: Thu, 14 Nov 2002 09:30:17 -0000

Roger

Thanks for the quick reply.

In that case I will change the file name to include the date and time so no
two files can be the same.

Mike
----- Original Message -----
From: "Roger Aelbrecht" <Roger.Aelbrecht@xxxxxxxxxx>
To: <delphizip@xxxxxxxxxxxxx>
Sent: Wednesday, November 13, 2002 7:33 PM
Subject: [delphizip] Re: Problem with setting ZipFileName


>
> ----- Original Message -----
> From: "Mike Bennett" <m.bennett@xxxxxxxxxxxx>
> To: <delphizip@xxxxxxxxxxxxx>
> Sent: Wednesday, November 13, 2002 6:29 PM
> Subject: [delphizip] Problem with setting ZipFileName
>
>
> > I have written an application that allows the user to zip data to a
> directory.  Each time the file name remains the same, but the user is
> prompted to select where they would like the zip to go.  If they select
the
> floppy drive and have already put an old disk in the drive, they get
> prompted to insert the last disk of the backup when I set the ZipFileName
> property.  Since in this case I am about to erase the data, the message is
> not required.  If the user does not put a disk in until prompted, then
> everything works OK.
> >
> > Is there a property I can set to overcome this?
> >
> No there isn't,
> and this behaviour is by design.
> Since you use the same ZipFileName and you insert an old disk the
component
> wants to execute List() and therefore needs the last disk that contains
the
> EOC.
>
>
>
> > Mike Bennett
>
> --------------------------------------------------------------------------
> -----------------------------
> > The content of this email, and any files sent with it, is confidential
> information of FDS Advanced Systems Ltd, and subject to copyright or other
> rights of FDS, and disclosure to, or use by, anyone other than the
addressee
> is unauthorised.
> > If you are not the addressee, please delete it and advise the sender by
> return email.
> >
> >

-------------------------------------------------------------------------------------------------------
The content of this email, and any files sent with it, is confidential 
information of FDS Advanced Systems Ltd, and subject to copyright or other 
rights of FDS, and disclosure to, or use by, anyone other than the addressee is 
unauthorised.
If you are not the addressee, please delete it and advise the sender by return 
email.

Other related posts: