I was trying to upload a zip file through HTTP, my code is: 

<cfhttp method="post" url="http://www.xxxx/upload.html"; username="xxxx" 
password="xxxx" resolveurl="yes">
        <cfhttpparam name="UploadFile" 
file="D:\Websites\scripts\ebaymotorpro\AETA89337\ebaymotorpro_AETA89337.zip" 
type="file" mimetype="application/zip" > 
</cfhttp>

It upoladed fine, and the response status is OK. but when I receive the upload 
reports, it says the zip file is either empty or crruped. 

The problem is how come it uploads ok, but the server side won't regenize the 
zip file????

I tried to upload the same file using the html form: 

<form method="post" action="http://xxxx/upload.html"; 
enctype="multipart/form-data">
 <input type="file" class="upload" size="30" name="file" />
 <input type="submit" class="button" style="float: left; margin: 1em 0 1em 0;" 
value="Upload >" />
</form>

And it works just fine.

I am so confused, please anyone could help????? thanks


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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