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



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:214617
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=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to