I have tried this on 2 Windows severs running 2000 and 2003 if I'm remembering 
correctly, and my MacBook Pro running Leopard.

Here is the error detail and message...

Detail: Ensure that the file is a valid zip file and it is accessible. Cause : 
java.util.zip.ZipException: error in opening zip file

Message: Exception encountered while reading the file 
/Applications/JRun4/servers/cfusion/cfusion-ear/cfusion-war/dan_workspace/Scratch/temp_uploaded.zip.

I can copy and paste the path right from the error message into "Start > Run" 
on Windows and the zip file opens right up. I am going to submit this as a bug 
and/or to the doc comments if there is no solution by this weekend.

NOTE: I just noticed that in my updated example code I used 
"nameconflict="makeunique"" when saving the uploaded file but then referenced 
the file with a hardcoded file name. Not an issue on the first run but change 
"makeunique" to "overwrite" to prevent a new filename being created on every 
test so it will unzip the correct file.

>Daniel,
>
>If I'm reading correctly, you're uploading to an OSX server?    You  
>might want to use mode="777" on your <cffile> tags for creation to  
>allow read/write/execute permissions on the file you have created.      
>You could be running into a permissions issue on the file that has  
>nothing to do with your code.
>
>What is the error message you are receiving on the dump of the cfcatch  
>for the <cfzip action="unzip"...  ?   That might help to narrow down  
>the problem a bit.
>
>HTH,
>Jon
>
>
>On May 8, 2008, at 2:00 PM, Daniel Roberts wrote:
>
>> 

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

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:304940
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