Verfasst: 22.10.2007 15:15
ok, thats the code to check, if a file already exists inside the archive... i understand how to handle - but...
at the moment, i use this code to pack all files inside a directory to an archive:
and it works fine. But i think, i have to use
PureZIP_AddFiles()
PureZIP_Archive_Create()
PureZIP_Archive_Compress()
to create the archive and add files to it. I dont know how to use it.
If possible, please give me an example!
at the moment, i use this code to pack all files inside a directory to an archive:
Code: Alles auswählen
SOURCE.s =C:\pstand\calstand\Kalibrieraufbau\KABS-Absolutdruck\*.*
DESTINATION.s =O:\Sales and Aftersales\WorkshopE\4-KABS.zip
PureZIP_AddFiles(DESTINATION, SOURCE, #PureZIP_StorePathRelative, #PureZIP_Recursive)
PureZIP_AddFiles()
PureZIP_Archive_Create()
PureZIP_Archive_Compress()
to create the archive and add files to it. I dont know how to use it.
