Jump to content
Sign in to follow this  
darzanmihai

How do I use the ZIP functions?

Recommended Posts

darzanmihai

How do I use the ZIP functions of the ZipPlugin?

_how could I use the funtions _ZipCreate() , _ZipAddFile() and others??? Where do I find them? I have not seen the fuintions int the ZipPlugin!


I do not like stupid and idiot people that write idiot things...If you are one, do not write.

Share this post


Link to post
Share on other sites
picaxe

Code examples are normally included with the udf when posted in a forum. Otherwise look at the udf code, there are almost always comments for functions that will tell you what params are required. I like this zip udf by torels.

Share this post


Link to post
Share on other sites
darzanmihai

Code examples are normally included with the udf when posted in a forum. Otherwise look at the udf code, there are almost always comments for functions that will tell you what params are required. I like this zip udf by torels.

Thx for the reply!

I know Torels UDF, but sometimes I get errors at _Zip_AddFolder() and _Zip_AddFolder() funtions ....sometimes I get errors, sometimes everything works perfect...

...and sometimes it stucks..

Zip.au3 (63) : ==> ????? "With" ????.:

$on = $oApp.NameSpace($ZipFile).Items.Count

$on = $oApp.NameSpace($ZipFile)^ ERROR

this is the error I recive...sometimes, even thought I use the same Files from the same location to add into the archive!


I do not like stupid and idiot people that write idiot things...If you are one, do not write.

Share this post


Link to post
Share on other sites
picaxe

this is the error I recive...sometimes, even thought I use the same Files from the same location to add into the archive!

Try _PathFull($ZipFile) to ensure you are passing a full file path to the zip function.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×