hey guys

i have a form
ask users name of folder they would like to extract there zip file
it uses cffile to upload the zip, and cfzip to extract it.

<cfzip action="unzip" destination="#cffile.serverDirectory#"
file="#cffile.serverDirectory#\#cffile.serverFile#" overwrite="yes" />

but it extracts it to the directory i want, but into the folder the
base zip file created, not one i want.

so say the file is called test_1.zip

it extracts into webserver/zips/test_1/ the files.
i would like it to be webserver/zips/What_i_want/ the files..

so that the user is passing in a form field the name of the folder to
create, and the zip file just extracts into.
not into a sub folder of that. i think i need to figure out storepath="false"

any help would be great as always
-paul

was looking here
http://www.bennadel.com/blog/855-Learning-ColdFusion-8-CFZip-Part-IV-Extracting-Zip-File-Archives.htm

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:309051
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to