RE: CFX_ZIP on Linux?

2001-02-20 Thread Jeremy Allen

It is easier than you think Michel.

The unix philosophy is using many small programs to
achieve the effect of much larger ones ;)

So.. if you wanted to create a zip file with max compression

zip -9 foo.zip file1.txt file2.txt file3.txt

Voila you now have foo.zip

Just drop down to the good ole command line using a
CFEXECUTE or some such and there you go. No Forta tags
needed with Unix.. :)

Jeremy Allen
elliptIQ Inc.

-Original Message-
From: Michel Vuijlsteke [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 20, 2001 3:54 AM
To: CF-Talk
Subject: CFX_ZIP on Linux?


We're migrating a CF application from NT to Linux.

One of the things it does is allow the user to tag a number of files which
it then packs in one zip file for him to download. This is done with Ben
Forta's cfx_zip.

Is there any way at all to duplicate this functionality easily on Linux? In
other words: is there a Linux equivalent, or do I need to do stuff with
cfexecute?

Michel Vuijlsteke
Netpoint NV


~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: [CFX_ZIP on Linux?]

2001-02-20 Thread Alex

yes. write a shell script to gzip the tagged files

Michel Vuijlsteke [EMAIL PROTECTED] wrote:
We're migrating a CF application from NT to Linux.

One of the things it does is allow the user to tag a number of files which
it then packs in one zip file for him to download. This is done with Ben
Forta's cfx_zip.

Is there any way at all to duplicate this functionality easily on Linux? In
other words: is there a Linux equivalent, or do I need to do stuff with
cfexecute?

Michel Vuijlsteke
Netpoint NV
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: CFX_ZIP on Linux?

2001-02-20 Thread Michel Vuijlsteke

Yippee. Thanks.

Michel

 -Original Message-
 From: Jeremy Allen [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, February 20, 2001 3:38 PM
 To: CF-Talk
 Subject: RE: CFX_ZIP on Linux?
 
 
 It is easier than you think Michel.
 
 The unix philosophy is using many small programs to
 achieve the effect of much larger ones ;)
 
 So.. if you wanted to create a zip file with max compression
 
 zip -9 foo.zip file1.txt file2.txt file3.txt
 
 Voila you now have foo.zip
 
 Just drop down to the good ole command line using a
 CFEXECUTE or some such and there you go. No Forta tags
 needed with Unix.. :)
 
 Jeremy Allen
 elliptIQ Inc.
 
 -Original Message-
 From: Michel Vuijlsteke [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, February 20, 2001 3:54 AM
 To: CF-Talk
 Subject: CFX_ZIP on Linux?
 
 
 We're migrating a CF application from NT to Linux.
 
 One of the things it does is allow the user to tag a number 
 of files which
 it then packs in one zip file for him to download. This is 
 done with Ben
 Forta's cfx_zip.
 
 Is there any way at all to duplicate this functionality 
 easily on Linux? In
 other words: is there a Linux equivalent, or do I need to do 
 stuff with
 cfexecute?
 
 Michel Vuijlsteke
 Netpoint NV
 
 

~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: [CFX_ZIP on Linux?]

2001-02-20 Thread Jeremy Allen

Not gzip.

Use the command line utility "zip"

Gzip uses a different compression algorithm.

Granted winzip speaks gzip its still better
to use the zip command line utility there
is a huge difference in "zip" and "gzip"

Gzip needs something like tar to create an archive
of files.

Zip like I showed allows you to create a valid
archive that is just like a PKZIP archive.




try this out at your nearest unix command line..

"man zip" and "man gzip"


:)



Jeremy Allen
elliptIQ Inc.


-Original Message-
From: Alex [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 20, 2001 9:41 AM
To: CF-Talk
Subject: Re: [CFX_ZIP on Linux?]


yes. write a shell script to gzip the tagged files

Michel Vuijlsteke [EMAIL PROTECTED] wrote:
We're migrating a CF application from NT to Linux.

One of the things it does is allow the user to tag a number of files which
it then packs in one zip file for him to download. This is done with Ben
Forta's cfx_zip.

Is there any way at all to duplicate this functionality easily on Linux? In
other words: is there a Linux equivalent, or do I need to do stuff with
cfexecute?

Michel Vuijlsteke
Netpoint NV

~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: CFX_ZIP on Linux?

2001-02-20 Thread JustinMacCarthy

A java  version should be very easy, there is a java/zip example tag
supplied with CF


Justin

-Original Message-
From: Michel Vuijlsteke [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 20, 2001 3:05 PM
To: CF-Talk
Subject: RE: CFX_ZIP on Linux?


Yippee. Thanks.

Michel

 -Original Message-
 From: Jeremy Allen [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, February 20, 2001 3:38 PM
 To: CF-Talk
 Subject: RE: CFX_ZIP on Linux?


 It is easier than you think Michel.

 The unix philosophy is using many small programs to
 achieve the effect of much larger ones ;)

 So.. if you wanted to create a zip file with max compression

 zip -9 foo.zip file1.txt file2.txt file3.txt

 Voila you now have foo.zip

 Just drop down to the good ole command line using a
 CFEXECUTE or some such and there you go. No Forta tags
 needed with Unix.. :)

 Jeremy Allen
 elliptIQ Inc.

 -Original Message-
 From: Michel Vuijlsteke [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, February 20, 2001 3:54 AM
 To: CF-Talk
 Subject: CFX_ZIP on Linux?
 
 
 We're migrating a CF application from NT to Linux.
 
 One of the things it does is allow the user to tag a number
 of files which
 it then packs in one zip file for him to download. This is
 done with Ben
 Forta's cfx_zip.
 
 Is there any way at all to duplicate this functionality
 easily on Linux? In
 other words: is there a Linux equivalent, or do I need to do
 stuff with
 cfexecute?
 
 Michel Vuijlsteke
 Netpoint NV
 
 


~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists