I am trying to automate a manual process where we have to cut & paste a file
to a web folder on a daily basis. The cfhttp call I am currently using
keeps failing with the message "The specified path is invalid" in the
filecontent variable and a "405 Method Not Allowed" message in the
statuscode variable and "HTTP/1.1 405 Method Not Allowed Date: Wed, 23 Jul
2003 22:05:44 GMT Server: Apache/1.3.26 (Unix) FrontPage/5.0.2.2510 Allow:
GET, HEAD, OPTIONS, TRACE Connection: close Content-Type: text/html;
charset=iso-8859-1" in the header variable.
The cfhttp call looks something like:
<cfhttp url="http://www.somedomain.com"
path="some_folder/some_Sub_Folder" file="test.dat" method="POST"
username="some_username" password="some_password">
<cfhttpparam file="C:\test.dat" type="FILE" name="test.dat">
</cfhttp>
<cfdump var="#cfhttp#">
What do I need to do to get this working? If this is not possible from CF,
is there a good third party tool that will do the job? Would a SQL Server
DTS package do it?
The files are currently cut & pasted into the folder and that works just
fine, it really needs to be automated, though.
Thanks in advance,
Andy
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription:
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more
resources for the community.
http://www.fusionauthority.com/ads.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4