I'm running into a really frustrating problem. I am working on a monitoring 
tool for a batch email service we provide. The system accepts a zip file with 
required files, unzips them and then queues up the job for processing. I would 
like to be able to submit test jobs from a remote server on a regular basis.

1. I am updating and pulling together a few files on the fly into a zip file 
using CF. If I upload the file with <cfhttp> the file that lands on the server 
can not be unzipped by ColdFusion or a CFC that just makes java calls to unzip 
files. If I browse to the uploaded file on the server I can unzip it fine with 
WinRAR and Windows Explorer

When I take the exact same zip file and submit it manually through our client 
web form, it is handled by CF without a problem. It appears that something 
subtle is changing with the file on upload. I'm not sure if there is some 
encoding i need to specify or what. I've looked at the docs and tried many 
variations on the code without any luck. The file is getting there but 
something is going on:

<cfhttp url="#instance.jobIDSubmitURL#" method="post" result="jobSubmitResult">
        <cfhttpparam name="JobFile" type="file" file="#arguments.jobFilePath#" 
mimetype="application/zip" />
</cfhttp> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:304844
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