• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

12.3. Performing FTP Operations

As we've already discussed, the CFFILE tag allows you to upload files from a client machine to the ColdFusion server and perform file and directory operations on your ColdFusion server. When you need to work with files and directories on a remote server, however, you need to use the CFFTP tag instead.

12.3.1. Connecting to a Remote Server

FTP operations using the CFFTP tag begin by opening a connection to the remote FTP server. The following example shows how to connect to an anonymous FTP server using the CFFTP tag:


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint