Split Zip Archives Using CFZIP or Similar?
Folks: Is it possible to split a large Zip Archive into smaller, predefined, file sizes using CFZIP or something similar? (I've reviewed the docs, and it doesn't seem like CFZIP natively supports this functionality...) For example, instead of one 100MB Zip File, I would end up with four 25MB Zip Files. Any thoughts on how to best accomplish this? Thanks in Advance! Christian N. Abad - President Accessible Computing, Inc. 1210 McLaughlin Drive Charlotte, NC 28212 http://www.AccessibleComputing.com ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350427 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Split Zip Archives Using CFZIP or Similar?
Build a zip file by file, and check the size. When it hits 25mb, go to a new one. This will be slow due to file io, but probably acceptably slow. On Tue, Mar 13, 2012 at 7:46 PM, Christian N. Abad li...@accessiblecomputing.com wrote: Folks: Is it possible to split a large Zip Archive into smaller, predefined, file sizes using CFZIP or something similar? (I've reviewed the docs, and it doesn't seem like CFZIP natively supports this functionality...) For example, instead of one 100MB Zip File, I would end up with four 25MB Zip Files. Any thoughts on how to best accomplish this? Thanks in Advance! Christian N. Abad - President Accessible Computing, Inc. 1210 McLaughlin Drive Charlotte, NC 28212 http://www.AccessibleComputing.com ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350428 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Split Zip Archives Using CFZIP or Similar?
Ray: So simple, yet so elegant... :-) This worked as intended for my application... Thanks! ~Christian -Original Message- From: Raymond Camden [mailto:raymondcam...@gmail.com] Sent: Tuesday, March 13, 2012 9:09 PM To: cf-talk Subject: Re: Split Zip Archives Using CFZIP or Similar? Build a zip file by file, and check the size. When it hits 25mb, go to a new one. This will be slow due to file io, but probably acceptably slow. On Tue, Mar 13, 2012 at 7:46 PM, Christian N. Abad li...@accessiblecomputing.com wrote: Folks: Is it possible to split a large Zip Archive into smaller, predefined, file sizes using CFZIP or something similar? (I've reviewed the docs, and it doesn't seem like CFZIP natively supports this functionality...) For example, instead of one 100MB Zip File, I would end up with four 25MB Zip Files. Any thoughts on how to best accomplish this? Thanks in Advance! Christian N. Abad - President Accessible Computing, Inc. 1210 McLaughlin Drive Charlotte, NC 28212 http://www.AccessibleComputing.com ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350429 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Split Zip Archives Using CFZIP or Similar?
Holy crap, it worked? I mean of course it did. Yeah. On Tue, Mar 13, 2012 at 10:12 PM, Christian N. Abad li...@accessiblecomputing.com wrote: Ray: So simple, yet so elegant... :-) This worked as intended for my application... Thanks! ~Christian -Original Message- From: Raymond Camden [mailto:raymondcam...@gmail.com] Sent: Tuesday, March 13, 2012 9:09 PM To: cf-talk Subject: Re: Split Zip Archives Using CFZIP or Similar? Build a zip file by file, and check the size. When it hits 25mb, go to a new one. This will be slow due to file io, but probably acceptably slow. On Tue, Mar 13, 2012 at 7:46 PM, Christian N. Abad li...@accessiblecomputing.com wrote: Folks: Is it possible to split a large Zip Archive into smaller, predefined, file sizes using CFZIP or something similar? (I've reviewed the docs, and it doesn't seem like CFZIP natively supports this functionality...) For example, instead of one 100MB Zip File, I would end up with four 25MB Zip Files. Any thoughts on how to best accomplish this? Thanks in Advance! Christian N. Abad - President Accessible Computing, Inc. 1210 McLaughlin Drive Charlotte, NC 28212 http://www.AccessibleComputing.com ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350430 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm