Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to store a class defined in prg into a vcx
Message
De
25/07/2006 11:14:06
 
 
À
23/07/2006 21:12:56
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01138347
Message ID:
01139730
Vues:
15
Hi Alejandro,

I'm sorry I'm not of much help as I have only used it for one very simple case of backing up one particular file. I do need to get more into how it works, but that probably won't happen for a while.

It shouldn't be too hard to do the speed comparison.

Pseudocode:
get all the files in the folder (ADIR), loop through the array and if the file is not a zip file, then call xzip on the file. That should do the trick for you.

>Hi Frank,
>
>I was looking at xzip.dll.
>
>How would you handle if you need to exclude some files from the zip? For example: make a zip of \xxx\*.* except \xxx\zips\*.zip
>
>I can make a list of each file that needs to be backed up (over 1000), but it seemes that xzip.dll requires a separate call for each file. Doesn't that mean that with each call the existing zip file will be opened and updated? Doesn't that take a long time?
>
>Do you have experience with a similar case? Thank you.
>
>Alex
>
>
>
>>Alejandro,
>>
>>you could try xzip.dll from xstandard.com, it may be faster than dynazip.
>>
>>>>>What do you recommend?
>>>>
>>>>We're using Dynazip4 + Dynazip classes and happy with it.
>>>>
>>>>>
>>>>>Thank you for the great help you provide in UT. I have learned a lot from your answers, including the stored ones.
>>>>
>>>>You're welcome.
>>>
>>>Hi Sergey,
>>>
>>>I am now making the copies with Dynazip but it is several times slower than pkzip. It is dissappoiting since I am writing a program to backup all directories listed in a DBF, several GBs worth. Even canceling a zipping operation is slow. Wonder if I am doing something wrong.
>>>
>>>Have you ever compared Dynazip with pkzip?
>>>
>>>TIA,
>>>
>>>Alex
Frank.

Frank Cazabon
Samaan Systems Ltd.
www.samaansystems.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform