Page 1 of 1

on the fly multi file zipping module.

Posted: Fri Nov 30, 2007 4:19 pm
by rw1
hello,

at the moment i am working with the two communicating jumi modules design to try and create the following:

------------
input (module 1)

- multiple file names of files on server can be checked (eg by checking radio boxes)
- user clicks submit

processing

- selected files are zipped into one file

output (module 2)

- download link
-------------

i have found the following sites that are using similar technology, but would really like to know if there is any simple (preferably database free) way of implementing this?

http://demo.chestysoft.com/zipfile/zipdemo1.asp
http://www.gleamtech.com/products/filevista.asp
http://www.codeproject.com/aspnet/upsanddowns.asp
http://www.filezipper.net/
http://www.tutorialized.com/view/tutori ... -fly/29269
http://www.experts-exchange.com/Web_Dev ... 37849.html

there are other ways this could work too:

- zip file is streamed to client browser creating only a temporary file. 
- and i'm looking at directory browser apps that could display contents of a specified directory.

i am on a linux server, php 4.4.7.

any ideas would be really appreciated.

thanks :)

Re: on the fly multi file zipping module.

Posted: Mon Jan 21, 2008 10:25 am
by ewel
Perhaps better late than never... I had found a class and a little program:
http://www.phpclasses.org/browse/package/870.html
http://www.phpconcept.net/phpzip/index.en.php

I was interested in server side zipping and unzipping to easily zip and preserve the current Joomla installation before easily unzipping updated files.

Re: on the fly multi file zipping module.

Posted: Mon Jan 21, 2008 12:36 pm
by rw1
there is something in the works designed to work natively in joomla, its absolutely awesome and should be released in the next couple of weeks.  i will post here when its out.  its functionality includes: virtual directory, zipping of multiple files into one zip file, and many interface customisation parameters. 

thanks for your reply!

all the best,

rw1 :)

Re: on the fly multi file zipping module.

Posted: Mon Jan 21, 2008 1:38 pm
by ewel
That's good to hear! Are you including some functionality for file permissions? That's a great pain so far.

Re: on the fly multi file zipping module.

Posted: Mon Jan 21, 2008 3:01 pm
by rw1
im not developing it personally, i'm just testing and helping where i can - its an impressive piece of work.  yes, it includes customiseable parameters which control who can see and access the files (public, regsitered, special).  but i've said too much, will be out soon :)