Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Dynazip hangs when files are excluded
Message
De
26/07/2006 14:41:31
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Produits tierce partie
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01139017
Message ID:
01140361
Vues:
12
>>Dynazip practically hangs when you indicate file exclusions. Anyone have experience with that?
>
>Hi Alex,
>
>Today I wrote and run a program that ZIPups files in a directory using Dynazip4. It also has some file extension excluded. I didn't have any problems running it.

Hi Sergey. These are the key statements of the offending code. We are talking over 7000 files included and maybe 100 excluded. If you wait long enough (over 15 minutes) the setup ends and the creation starts.
lcZip_ZipFile = 'C:\Zips\20060720\VPay.zip'
DELETE FILE (lcZipFile)

LOCAL loDZ
loDZ = newobject('dynazip', 'dynazip.fxp')
WITH loDZ
   .cZip_ZipFile         = lcZip_ZipFile
   .cZip_ItemList        = ALLTRIM('Z:\VPay\*.*')
   .lZip_ExcFlag	 = .T.
   .cZip_ExcList	 = 'contab\sosa\backup\*.* zips\*.*'
   .lZip_Recurse	 = .T.
   .lZSO_RelativePathFlag = .T.

   .lZSO_ExternalProg    = .t.
   .lZSO_SkipLockedFiles = .t.
   .lZSO_MinorCancel     = .t.
   .lZSO_ExtProgCancel   = .t.

   .cZip_ExtProgTitle    = "Creating " + JUSTFNAME(lcZip_ZipFile)
   .ZipAdd()
   .Release()
ENDWITH
Thank you for your help.

Alex
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform