User Guide

Chapter 18
Interacting with Remote Servers
This chapter describes how ColdFusion wraps the complexity of Hypertext Transfer
Protocol (HTTP) and File Transfer Protocol (FTP) communications in a simplified tag
syntax that lets you easily extend your sites offerings across the Web.
Contents
Using cfhttp to Interact with the Web....................................................................332
Using the cfhttp Get Method..................................................................................332
Creating a Query from a Text File...........................................................................335
Using the cfhttp Post Method.................................................................................337
Performing File Operations with cfftp...................................................................341
Moving Complex Data Structures Across the Web with WDDX ..........................345
Converting CFML Data to a JavaScript Object......................................................349
Transferring Data from Browser to Server.............................................................350
Storing Complex Data in a String...........................................................................353