> Hi everyone! I'm looking at the CFHTTP documentation trying > to divine the answer to the following question: Is it > possible to use CFHTTP to push a datafile to another > website? My app currently stores the user documents (word, > excel, etc) on the local server, but we're looking at using > a document management system, and one of the possible > methods of interfacing might be CFHTTP. Getting the > metadata about the document to the other website is easy - > but what about the file itself? I don't see anything in the > CFHTTP docs about this.
You should be able to use CFHTTP with METHOD="POST", and CFHTTPPARAM with TYPE="FILE", to upload a file to a remote server just like you'd use a file upload form in a browser. Of course, the remote server would have to have a CGI script that would accept the file upload. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444 ______________________________________________________________________ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

