Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Creating zip file from vfp
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00376493
Message ID:
00381522
Vues:
23
Hola Andrus,

Since your app has access to the files, have it copy the contents of the tables in a temp directory.

Then remains the spanning and zipping... hmmm...

One option would be to zip everything in a file using the info-zip dll and then do the spanning yourself from that file to diskettes or whatever media you're using.

Another option you might want to explore that compresses files and is free would be windows' very own backup program in order to do the spanning and zipping for you.

Alex


>>>This info-zip code will not create a zip file structure.
>>>There was a Milan Kosina sample in May 1998 FPA about using this in VFP.
>>
>>What does it do? Now *I* am confused. According to the docs it creates zip files. I've used infozip in the past and the zips are fine.
>
>This article show how to compress a single file using info-zip dll
>The compressed file is saved in the memo field.
>The only way to produce a zip file structure is to use
>RUN ZIP.EXE ... command
>However, this will not allow to make backup of open files and use disk
>spanning.
>
>Do you have an info-zip dll which creates a stanard .zip file ?
>
>>>There are a lot of free dlls and ocxes which use this code,
>>>for example www.foxbrasil.com.br/downloadut.html contains some list of them for foxpro.
>>>
>>>However, no one of them will produce a zip file structure.
>>
>>What exactly do you need?
>
>I have a VFP application which runs 7 days per week and 24 hours
>per day. Some dbf files are always open (in shared mode).
>
>I need an utility which:
>
>1. Allows to make backup of open dbf files contained in subdirectories.
>2. Produces standard multi-disk zip file structure.
>3. Is free.
>
>
>>>Also I need a multi-disk zip structure.
>>
>>You could actually create the zip locally and then create a simple vfp function that will break it in chunks and save to floppy. I've done it in Clipper. It's really simple.
>
>1. This requires that resulting backup file must fit into hard
>disk drive before copying to floppy disks. However, I don't have
>so much hard disk space. How can I use this method?
>
>2. I need to send multi volume backup copies in floppy disks to users who have only winzip
>installed. Is it possible to extract a file from your resulting
>backup set using winzip ?
Low-carb diet not working? Try the Low-food diet instead!
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform