Re: Zipping files in CF7?

2010-01-21 Thread Charlie Griefer

http://zipcfc.riaforge.org/

On Thu, Jan 21, 2010 at 12:55 PM, Marie Taylore mt4yl...@yahoo.com wrote:


 I seem to recall there's a way to call some Java routines in ColdFusion 7
 to zip or unzip files.  Can anyone point me to any how to's on this?

 Thanks!




 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:329971
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Zipping files in CF7?

2010-01-21 Thread Charlie Griefer

whoops.  looks like the download link doesn't work from riaforge.

googling brings up
http://www.newsight.de/2005/06/28/finished-work-on-zip-cfc/

On Thu, Jan 21, 2010 at 12:56 PM, Charlie Griefer charlie.grie...@gmail.com
 wrote:

 http://zipcfc.riaforge.org/


 On Thu, Jan 21, 2010 at 12:55 PM, Marie Taylore mt4yl...@yahoo.comwrote:


 I seem to recall there's a way to call some Java routines in ColdFusion 7
 to zip or unzip files.  Can anyone point me to any how to's on this?

 Thanks!




 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:329972
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Zipping files in CF7?

2010-01-21 Thread Marie Taylore

yah, I could use that, although I thought I remember there was some Java-Zip 
functionality you could call directly within ColdFusion?

Not true?

--- On Thu, 1/21/10, Charlie Griefer charlie.grie...@gmail.com wrote:

 From: Charlie Griefer charlie.grie...@gmail.com
 Subject: Re: Zipping files in CF7?
 To: cf-talk cf-talk@houseoffusion.com
 Date: Thursday, January 21, 2010, 12:58 PM
 
 whoops.  looks like the download link doesn't work
 from riaforge.
 
 googling brings up
 http://www.newsight.de/2005/06/28/finished-work-on-zip-cfc/
 
 On Thu, Jan 21, 2010 at 12:56 PM, Charlie Griefer charlie.grie...@gmail.com
  wrote:
 
  http://zipcfc.riaforge.org/
 
 
  On Thu, Jan 21, 2010 at 12:55 PM, Marie Taylore mt4yl...@yahoo.comwrote:
 
 
  I seem to recall there's a way to call some Java
 routines in ColdFusion 7
  to zip or unzip files.  Can anyone point me
 to any how to's on this?
 
  Thanks!
 
 
 
 
  
 
 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:32
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Zipping files in CF7?

2010-01-21 Thread Charlie Griefer

http://www.koders.com/coldfusion/fidBEB0DE5D42A343D22523C79368CC143BF331CC8A.aspx

On Thu, Jan 21, 2010 at 7:42 PM, Marie Taylore mt4yl...@yahoo.com wrote:


 yah, I could use that, although I thought I remember there was some
 Java-Zip functionality you could call directly within ColdFusion?

 Not true?

 --- On Thu, 1/21/10, Charlie Griefer charlie.grie...@gmail.com wrote:

  From: Charlie Griefer charlie.grie...@gmail.com
  Subject: Re: Zipping files in CF7?
  To: cf-talk cf-talk@houseoffusion.com
  Date: Thursday, January 21, 2010, 12:58 PM
 
  whoops.  looks like the download link doesn't work
  from riaforge.
 
  googling brings up
  http://www.newsight.de/2005/06/28/finished-work-on-zip-cfc/
 
  On Thu, Jan 21, 2010 at 12:56 PM, Charlie Griefer 
 charlie.grie...@gmail.com
   wrote:
 
   http://zipcfc.riaforge.org/
  
  
   On Thu, Jan 21, 2010 at 12:55 PM, Marie Taylore mt4yl...@yahoo.com
 wrote:
  
  
   I seem to recall there's a way to call some Java
  routines in ColdFusion 7
   to zip or unzip files.  Can anyone point me
  to any how to's on this?
  
   Thanks!
  
  
  
  
  
 
 

 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:330002
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Zipping files in CF7?

2010-01-21 Thread brad

It's worth mentioning that there are many command-line zip utilities
that are out there and you can call them with a cfexecute.  You'll be
tying yourself to your OS and zip util. a little bit, but it will
probably be less code than all that Java.

~Brad


 Original Message 
Subject: Re: Zipping files in CF7?
From: Marie Taylore mt4yl...@yahoo.com
Date: Thu, January 21, 2010 9:42 pm
To: cf-talk cf-talk@houseoffusion.com


yah, I could use that, although I thought I remember there was some
Java-Zip functionality you could call directly within ColdFusion?

Not true?


~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:330003
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Zipping files in CF7?

2010-01-21 Thread Marie Taylore

Ah yes!  Thanks for jarring my memory.

Now I remember I had used two cflib.org functions:

zipFileNew() by Nathan Dintenfass

and

unzipFile() Samuel Neff

both of which greatly simplify the calls to java.util.zip libraries and work in 
ColdFusion MX and up.

You pointed me in the right direction!  Thanks!

--- On Thu, 1/21/10, Charlie Griefer charlie.grie...@gmail.com wrote:

 From: Charlie Griefer charlie.grie...@gmail.com
 Subject: Re: Zipping files in CF7?
 To: cf-talk cf-talk@houseoffusion.com
 Date: Thursday, January 21, 2010, 9:18 PM
 
 http://www.koders.com/coldfusion/fidBEB0DE5D42A343D22523C79368CC143BF331CC8A.aspx
 
 On Thu, Jan 21, 2010 at 7:42 PM, Marie Taylore mt4yl...@yahoo.com
 wrote:
 
 
  yah, I could use that, although I thought I remember
 there was some
  Java-Zip functionality you could call directly within
 ColdFusion?
 
  Not true?
 
  --- On Thu, 1/21/10, Charlie Griefer charlie.grie...@gmail.com
 wrote:
 
   From: Charlie Griefer charlie.grie...@gmail.com
   Subject: Re: Zipping files in CF7?
   To: cf-talk cf-talk@houseoffusion.com
   Date: Thursday, January 21, 2010, 12:58 PM
  
   whoops.  looks like the download link
 doesn't work
   from riaforge.
  
   googling brings up
   http://www.newsight.de/2005/06/28/finished-work-on-zip-cfc/
  
   On Thu, Jan 21, 2010 at 12:56 PM, Charlie Griefer
 
  charlie.grie...@gmail.com
wrote:
  
http://zipcfc.riaforge.org/
   
   
On Thu, Jan 21, 2010 at 12:55 PM, Marie
 Taylore mt4yl...@yahoo.com
  wrote:
   
   
I seem to recall there's a way to call
 some Java
   routines in ColdFusion 7
to zip or unzip files.  Can anyone
 point me
   to any how to's on this?
   
Thanks!




~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:330005
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Zipping Files

2002-03-29 Thread Lon Lentz

  You could grab cfx_consolecommand and run pkzip old school style.

 -Original Message-
 From: Duane Boudreau [mailto:[EMAIL PROTECTED]]
 Sent: Friday, March 29, 2002 9:38 AM
 To: CF-Talk
 Subject: Zipping Files
 
 
 Does anyone have code or an example of zipping files?
 
 Thx,
 Duane

__
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Zipping Files

2002-03-29 Thread Jim Gurfein

We've been using a command line .exe from winzip that does a great job. We 
have scheduled jobs that look like this:

CFEXECUTE NAME=C:\progra~1\winzip\wzzip.exe
  arguments=c:\directory\filenametobewritten.zip 
c:\directory\filenametobezipped.txt
 
/CFEXECUTE

Works like a charm!


At 09:54 AM 3/29/02 -0500, you wrote:
   You could grab cfx_consolecommand and run pkzip old school style.

  -Original Message-
  From: Duane Boudreau [mailto:[EMAIL PROTECTED]]
  Sent: Friday, March 29, 2002 9:38 AM
  To: CF-Talk
  Subject: Zipping Files
 
 
  Does anyone have code or an example of zipping files?
 
  Thx,
  Duane


__
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Zipping Files

2002-03-29 Thread Duane Boudreau

How did you get the annoying press any key to continue prompt to go away?

Duane

-Original Message-
From: Jim Gurfein [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 29, 2002 9:57 AM
To: CF-Talk
Subject: RE: Zipping Files


We've been using a command line .exe from winzip that does a great job. We 
have scheduled jobs that look like this:

CFEXECUTE NAME=C:\progra~1\winzip\wzzip.exe
  arguments=c:\directory\filenametobewritten.zip 
c:\directory\filenametobezipped.txt
 
/CFEXECUTE

Works like a charm!


At 09:54 AM 3/29/02 -0500, you wrote:
   You could grab cfx_consolecommand and run pkzip old school style.

  -Original Message-
  From: Duane Boudreau [mailto:[EMAIL PROTECTED]]
  Sent: Friday, March 29, 2002 9:38 AM
  To: CF-Talk
  Subject: Zipping Files
 
 
  Does anyone have code or an example of zipping files?
 
  Thx,
  Duane



__
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Zipping Files

2002-03-29 Thread Jim Gurfein

Never had a problem with that when you run the cfexecute through a 
scheduled job

At 01:55 PM 3/29/02 -0500, you wrote:
How did you get the annoying press any key to continue prompt to go away?

Duane

-Original Message-
From: Jim Gurfein [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 29, 2002 9:57 AM
To: CF-Talk
Subject: RE: Zipping Files


We've been using a command line .exe from winzip that does a great job. We
have scheduled jobs that look like this:

CFEXECUTE NAME=C:\progra~1\winzip\wzzip.exe
   arguments=c:\directory\filenametobewritten.zip
c:\directory\filenametobezipped.txt
  
/CFEXECUTE

Works like a charm!


At 09:54 AM 3/29/02 -0500, you wrote:
You could grab cfx_consolecommand and run pkzip old school style.
 
   -Original Message-
   From: Duane Boudreau [mailto:[EMAIL PROTECTED]]
   Sent: Friday, March 29, 2002 9:38 AM
   To: CF-Talk
   Subject: Zipping Files
  
  
   Does anyone have code or an example of zipping files?
  
   Thx,
   Duane
 
 


__
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Zipping Files

2002-03-29 Thread Duane Boudreau

Darn.

I am running this code and it doesn't work:

cfexecute
name=C:\progra~1\WinZip\wzzip.exe
arguments=c:\ziptest\test2.zip c:\ziptest\*.txt
/cfexecute

Nothing happens, but if I run it from a dos prompt it works fine (except for
the continue? prompt.

What version of the WZ command line utility are your running?

TIA,
Duane




-Original Message-
From: Jim Gurfein [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 29, 2002 2:30 PM
To: CF-Talk
Subject: RE: Zipping Files


Never had a problem with that when you run the cfexecute through a
scheduled job

At 01:55 PM 3/29/02 -0500, you wrote:
How did you get the annoying press any key to continue prompt to go away?

Duane

-Original Message-
From: Jim Gurfein [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 29, 2002 9:57 AM
To: CF-Talk
Subject: RE: Zipping Files


We've been using a command line .exe from winzip that does a great job. We
have scheduled jobs that look like this:

CFEXECUTE NAME=C:\progra~1\winzip\wzzip.exe
   arguments=c:\directory\filenametobewritten.zip
c:\directory\filenametobezipped.txt
  
/CFEXECUTE

Works like a charm!


At 09:54 AM 3/29/02 -0500, you wrote:
You could grab cfx_consolecommand and run pkzip old school style.
 
   -Original Message-
   From: Duane Boudreau [mailto:[EMAIL PROTECTED]]
   Sent: Friday, March 29, 2002 9:38 AM
   To: CF-Talk
   Subject: Zipping Files
  
  
   Does anyone have code or an example of zipping files?
  
   Thx,
   Duane
 
 



__
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: Zipping Files

2002-03-29 Thread Jon Hall

Why not use one of the cfx tags from the Dev Exchange?
http://devex.macromedia.com/developer/gallery/info.cfm?ID=FBB59A9B-ED7F-11D5
-83F800508B94F85Amethod=Full

- Original Message -
From: Duane Boudreau [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Friday, March 29, 2002 2:36 PM
Subject: RE: Zipping Files


 Darn.

 I am running this code and it doesn't work:

 cfexecute
 name=C:\progra~1\WinZip\wzzip.exe
 arguments=c:\ziptest\test2.zip c:\ziptest\*.txt
 /cfexecute

 Nothing happens, but if I run it from a dos prompt it works fine (except
for
 the continue? prompt.

 What version of the WZ command line utility are your running?

 TIA,
 Duane




 -Original Message-
 From: Jim Gurfein [mailto:[EMAIL PROTECTED]]
 Sent: Friday, March 29, 2002 2:30 PM
 To: CF-Talk
 Subject: RE: Zipping Files


 Never had a problem with that when you run the cfexecute through a
 scheduled job

 At 01:55 PM 3/29/02 -0500, you wrote:
 How did you get the annoying press any key to continue prompt to go away?
 
 Duane
 
 -Original Message-
 From: Jim Gurfein [mailto:[EMAIL PROTECTED]]
 Sent: Friday, March 29, 2002 9:57 AM
 To: CF-Talk
 Subject: RE: Zipping Files
 
 
 We've been using a command line .exe from winzip that does a great job.
We
 have scheduled jobs that look like this:
 
 CFEXECUTE NAME=C:\progra~1\winzip\wzzip.exe
arguments=c:\directory\filenametobewritten.zip
 c:\directory\filenametobezipped.txt
   
 /CFEXECUTE
 
 Works like a charm!
 
 
 At 09:54 AM 3/29/02 -0500, you wrote:
 You could grab cfx_consolecommand and run pkzip old school style.
  
-Original Message-
From: Duane Boudreau [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 29, 2002 9:38 AM
To: CF-Talk
Subject: Zipping Files
   
   
Does anyone have code or an example of zipping files?
   
Thx,
Duane
  
  
 
 

 
__
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Zipping Files

2002-03-29 Thread Jim Gurfein

If this is the actual code, you're missing a  at the end of cfexecute

Also, are you sure you downloaded wzzip.exe from the winzip site... it's 
not part of the regular winzip


At 02:36 PM 3/29/02 -0500, you wrote:
Darn.

I am running this code and it doesn't work:

cfexecute
 name=C:\progra~1\WinZip\wzzip.exe
 arguments=c:\ziptest\test2.zip c:\ziptest\*.txt
/cfexecute

Nothing happens, but if I run it from a dos prompt it works fine (except for
the continue? prompt.

What version of the WZ command line utility are your running?

TIA,
Duane




-Original Message-
From: Jim Gurfein [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 29, 2002 2:30 PM
To: CF-Talk
Subject: RE: Zipping Files


Never had a problem with that when you run the cfexecute through a
scheduled job

At 01:55 PM 3/29/02 -0500, you wrote:
 How did you get the annoying press any key to continue prompt to go away?
 
 Duane
 
 -Original Message-
 From: Jim Gurfein [mailto:[EMAIL PROTECTED]]
 Sent: Friday, March 29, 2002 9:57 AM
 To: CF-Talk
 Subject: RE: Zipping Files
 
 
 We've been using a command line .exe from winzip that does a great job. We
 have scheduled jobs that look like this:
 
 CFEXECUTE NAME=C:\progra~1\winzip\wzzip.exe
arguments=c:\directory\filenametobewritten.zip
 c:\directory\filenametobezipped.txt
   
 /CFEXECUTE
 
 Works like a charm!
 
 
 At 09:54 AM 3/29/02 -0500, you wrote:
 You could grab cfx_consolecommand and run pkzip old school style.
  
-Original Message-
From: Duane Boudreau [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 29, 2002 9:38 AM
To: CF-Talk
Subject: Zipping Files
   
   
Does anyone have code or an example of zipping files?
   
Thx,
Duane
  
  
 
 


__
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists