you might need to specify the multipart attribute, to send the data as a multipart/form-date content-type.
On 8/11/05, Jonathon Adam <[EMAIL PROTECTED]> wrote: > I am trying to post a .zip file to a server outside our > firewall/environment, but the CFHTTP with POST doesn't post the file. The > code does work with .txt and .xml files. In addition to testing .txt and > ..xml files, I wrote a basic HTML POST form and was able to manually transfer > the .zip file successfully. This process is being run on CF 5 and CFFTP is > not a option for this task. > > Here is what I am using: > <CFHTTP > URL="https://xxx.xxx.xxx.xxx:7443/name/ocrservlet?encrstr=342j43kn234kii342342kbh3243" > METHOD="POST"> > <CFHTTPPARAM TYPE="FILE" NAME="F1" > FILE="C:\inetpub\wwwroot\dev\fileTransfer\export\DATE_OURAPP_TO_YOURAPP.zip"> > </CFHTTP> > > Here is what I receive after attempting to post a zip file with cfhttp: > CONNECTION : close > CONTENT-LANGUAGE : en-US > CONTENT-TYPE : text/plain > EXPLANATION : OK > HTTP_VERSION : HTTP/1.1 > SERVER : WebSphere Application Server/5.1 > STATUS_CODE : 200 > > Thanks for your assistance > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:214622 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54