Whatever message this page gives is out now! Go check it out!

About interacting with remote servers

Last update:
May 18, 2026
Transfer protocols are mechanisms for moving files and information from a source to one or more destinations. Two of the more common protocols are the Hypertext Transfer Protocol (HTTP) and the File Transfer Protocol (FTP). ColdFusion has the cfhttp and cfftp tags that let you use these protocols to interact with remote servers.
The cfhttp tag lets you receive a web page or web-based file, just as a web browser uses HTTP to transport web pages. When you type a URL into a web browser, you make an HTTP request to a web server. With the cfhttp tag, you can display a web page, send variables to a ColdFusion or CGI application, retrieve specialized content from a web page, and create a ColdFusion query from a text file. You can use the Get or Post methods to interact with remote servers.
The cfftp tag takes advantage of the main purpose of FTP transporting files. Unlike HTTP, FTP was not designed to interact with other servers for processing and interacting with data. After you establish an FTP connection with the cfhttp tag, you can use it to upload, download, and manage files and directories.

Share this page

Was this page helpful?
We're glad. Tell us how this page helped.
We're sorry. Can you tell us what didn't work for you?
Thank you for your feedback. Your response will help improve this page.

On this page