Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

script to zip

 
   Web Hosting and Web Master Forums (Home) -> Webmaster RSS
Next:  Did I miss something?  
Author Message
logankrienke

External


Since: Jun 01, 2004
Posts: 1



(Msg. 1) Posted: Tue Jun 01, 2004 10:54 am
Post subject: script to zip
Archived from groups: alt>www>webmaster (more info?)

I am currently loooking for a script that can/will zip a full
directory on
the fly.

I am not sure if there is a cgi/perl script that can do this I don't
want to have to download any programs.

Please forward any info on this subject to logankrienke.RemoveThis@hotmail.com

thanks

 >> Stay informed about: script to zip 
Back to top
Login to vote
user480

External


Since: May 19, 2004
Posts: 154



(Msg. 2) Posted: Tue Jun 01, 2004 11:02 am
Post subject: Re: script to zip [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"Logan" <logankrienke DeleteThis @Hotmail.com> wrote in message
news:817148cb.0406010654.43c49fb7@posting.google.com...
 > I am currently loooking for a script that can/will zip a full
 > directory on
 > the fly.
 >
 > I am not sure if there is a cgi/perl script that can do this I don't
 > want to have to download any programs.
 >
 > Please forward any info on this subject to logankrienke DeleteThis @hotmail.com
 >
 > thanks


We'll get right on it.
Anything else you need?
How do you take your coffee?
What time would you like lunch delivered?

Use google dude. You posted from there.<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: script to zip 
Back to top
Login to vote
postmaster

External


Since: Jun 27, 2003
Posts: 286



(Msg. 3) Posted: Tue Jun 01, 2004 6:04 pm
Post subject: Re: script to zip [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Logan wrote:

 > I am currently loooking for a script that can/will zip a full
 > directory on
 > the fly.
 >
 > I am not sure if there is a cgi/perl script that can do this I don't
 > want to have to download any programs.
 >
 > Please forward any info on this subject to logankrienke.TakeThisOut@hotmail.com

man tar
note the z option (if not supported you can use gzip on the tar, if not
available, use another zipper)

--
John MexIT: <a style='text-decoration: underline;' href="http://johnbokma.com/mexit/" target="_blank">http://johnbokma.com/mexit/</a>
personal page: <a style='text-decoration: underline;' href="http://johnbokma.com/" target="_blank">http://johnbokma.com/</a>
Experienced Perl programmer available: <a style='text-decoration: underline;' href="http://castleamber.com/" target="_blank">http://castleamber.com/</a><!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: script to zip 
Back to top
Login to vote
nospam34

External


Since: Oct 20, 2003
Posts: 294



(Msg. 4) Posted: Wed Jun 02, 2004 11:06 am
Post subject: Re: script to zip [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Logan wrote:

 > I am currently loooking for a script that can/will zip a full
 > directory on
 > the fly.
 >
 > I am not sure if there is a cgi/perl script that can do this I don't
 > want to have to download any programs.
 >
 > Please forward any info on this subject to logankrienke RemoveThis @hotmail.com

You post on usenet, you read on usenet

 > thanks

I do this thousands of times per day at <a style='text-decoration: underline;' href="http://ipo-australia.com/data" target="_blank">http://ipo-australia.com/data</a>

Simple method 1:
print "Content-Type: application/zip\n\n";
Use the "system" call to call the linux zip function
Write resulting zip file to to stdout

Simple method 2:
print "Content-Type: application/zip\n\n";
Use the Perl Archive::Zip module (available from cpan.org) to generate the
zip file in RAM
Write resulting zip file to to stdout

Complex method (what I use):
print "Content-Type: application/zip\n\n";
Note that the zip content header is at the end.
Hack the Perl Archive::Zip module to write to stdout after each file has
been added ie lazy evaluation


More assistance: $80/hour

gtoomey<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: script to zip 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Looking for a certain script... - I I have been looking all over for a certain script... I am hopeing one of you all has used a script like this and can help me find it.. What I need is a script that I can do the following.. Add a user/pass then add a url then take a tracking url and..

Script - Hey all, I have a client (dell partner) with specific need: he wants to be able to extract info, prices form ms excel/access and upload it on to web site. Also photos of products are to be uploaded to web site to specific folder using a script. What do...

FTP script ? - I have a site on Page Zone for a club I'm in. I have set it up to allow members Anonymous FTP access to the "/incoming" folder in order to upload photos for posting. I have a page designed with a form with a "file browse" box. What...

Does anyone know where I can get a script like this.....? - Hi All, Just wanted to know if anyone knew where I could find a script like the one featured on http://www.domaintwister.com Basically, you enter a word, it combines it with some predetermined one and then does a whois check. Ive search cgi-resources,....

Does this PHP script exist? - Need to get away from a cgi...preferably use a PHP script for speed and less resource usage. Checked Hotscripts but most are just form2mail with redirects. Need a... Form2email thingy that will.. Pass the fields to an email (of course) but also redirect...
   Web Hosting and Web Master Forums (Home) -> Webmaster All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
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



[ Contact us | Terms of Service/Privacy Policy ]