Bay Six Software Forum Index Bay Six Software
Beyond the Basics
 
 FAQFAQ   SearchSearch   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Bay6Zip : Zip utility

 
Post new topic   Reply to topic    Bay Six Software Forum Index -> Bay6Zip
View previous topic :: View next topic  
Author Message
Phuayj
Guest





PostPosted: Jul 7th, 2005, 9:56am    Post subject: Bay6Zip : Zip utility Reply with quote

Since there is only an unzip utility, why not add a zip utility?
Back to top
Brent
Site Admin


Joined: 01 Jul 2005
Posts: 729

PostPosted: Jul 8th, 2005, 8:32am    Post subject: Re: Bay6Zip : Zip utility Reply with quote

It was my intention to add the ability to create or add to a ZIP archive. When I originally write Bay6Zip, that functionality had not be figured out yet. I just didn't have the time to add it when a method was published shortly after Bay6Zip's release. I had hoped someone would step up and attempt to add this missing other half, but no one has or they did it and didn't bring it to my attention.
_________________
Brent
Back to top
View user's profile Send private message Send e-mail
Phuayj
Guest





PostPosted: Jul 8th, 2005, 12:16pm    Post subject: Re: Bay6Zip : Zip utility Reply with quote

I thought Dennis has done it using ActiveX control? He wrote an article for the LB Newsletter not long ago.
Back to top
Brent
Site Admin


Joined: 01 Jul 2005
Posts: 729

PostPosted: Jul 8th, 2005, 7:17pm    Post subject: Re: Bay6Zip : Zip utility Reply with quote

I based Bay6Zip on code by Doyle Whisenant. Doyle has released his code on his Website at http://www.freewebs.com/mekdesign/liberty.htm.
_________________
Brent
Back to top
View user's profile Send private message Send e-mail
JohnDavidson
Guest





PostPosted: Mar 1st, 2006, 4:04pm    Post subject: Re: Bay6Zip : Zip utility Reply with quote

Hey Brent
I've been using zlib to build distribution zips with some success.

The pathing issue is solved but I lack a really rock solid folder parser.
For zips that will contain a couple hundred files in four or five folders, no more than four deep, everythings fine.

Zipping a thousand files does take some time.

Next step is to add 'comments' to the zip file.

John
Back to top
JohnDavidson
Guest





PostPosted: Mar 1st, 2006, 10:10pm    Post subject: Re: Bay6Zip : Zip utility Reply with quote

Oops..
I forgot a link to the code.
http://www.johnshomeport.com/downloads/ztest.zip

This download was zipped by itself and a couple of folders were added for testing.

John
Back to top
Brent
Site Admin


Joined: 01 Jul 2005
Posts: 729

PostPosted: Mar 1st, 2006, 10:20pm    Post subject: Re: Bay6Zip : Zip utility Reply with quote

Thanks for that, John! I'll take a look at it later.
_________________
Brent
Back to top
View user's profile Send private message Send e-mail
JohnDavidson
Guest





PostPosted: Mar 3rd, 2006, 9:36pm    Post subject: Re: Bay6Zip : Zip utility Reply with quote

Here's a bit of an update.
The code I linked to saves the zip files with Windows file path delimiters and that will cause some pretty strange problems, sometimes.
I've fixed the code and the link above is to the fixed code.

I've also got the comments working.
I was trying to add them when the file was created and that was wrong.

I changed Doyle's original 'zip close'
Code:
    CallDll #zip, "zipClose", zipFileHwnd as long, 0 as long, err as long
to
Code:
    CallDll #zip, "zipClose", zipFileHwnd as long, comment$ as ptr,zErr as long


Where comment$ is the comments you want to display when the zip is opened.

I'm using these routines for another project but sure hope someone has the time to experiment with adding them to Bay6Zip.

My server has been rather cranky lately so if the download is not complete, download again opting to overwrite the first attempt.

John
Back to top
Brent
Site Admin


Joined: 01 Jul 2005
Posts: 729

PostPosted: Mar 8th, 2006, 10:47am    Post subject: Re: Bay6Zip : Zip utility Reply with quote

Okay, I think I'll start a near rewrite of Bay6Zip. I'm researching the matter now. I can't promise it will be done very quickly. I'll post updates, as they become available, in a new thread.
_________________
Brent
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    Bay Six Software Forum Index -> Bay6Zip All times are GMT
Page 1 of 1
Jump to:  
Quick Reply
Username:
Message:
   Shortcut keys: Alt+Q to activate, Alt+P to preview, Alt+S to submit
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum



Lo-Fi Version
Powered by phpBB © 2001, 2005 phpBB Group