Ben Forta

Blog

April 25, 2002

MIME Types

can be used to retrieve HTTP requests, either text or binary data. To determine the type of data retrieved examine its MIME type which is stored in CFHTTP.MIMEType. (Applies to: ColdFusion 5 or later)

April 24, 2002

Accessing Response Headers

requests return HTTP data as well as HTTP response headers. To access returned response headers use CFHTTP.ResponseHeader, this is a CFML structure with the header name as the key. (Applies to: ColdFusion 5 or later)

April 23, 2002

Return Values

Most operations return queries but some return values (getting directory names or checking for file existence, for example). In these situations the value returned by will be available as CFFTP.ReturnValue. (Applies to: ColdFusion 4 or later)

April 22, 2002

Is Case Sensitive

is used to programmatically send files to and from FTP servers. Unlike most other ColdFusion operations, files and directories in are case-sensitive (as this is how most FTP servers function). (Applies to: ColdFusion 4 or later)

April 21, 2002

Checking For Remote FTP Files

Need to check if a file or directory exists on the other end of an FTP connection? Don't retrieve the FTP directory list just to check it. ACTION="exists" (or ACTION="existsdir" and ACTION="existsfile") will execute quicker. (Applies to: ColdFusion 4 or later)

April 20, 2002

Retries

By default makes a single retry before failing. This value can be raised if needed by passing a count to the RETRYCOUNT attribute. (Applies to: ColdFusion 4 or later)

April 19, 2002

and Proxy Servers

If is accessed via a proxy server the name of the proxy server to be used should be passed to the PROXYSERVER attribute. Multiple servers may be specified if needed. (Applies to: ColdFusion 4 or later)

April 18, 2002

ASCII Files

By default will switch between ASCII and binary transfer modes automatically - ASCII is used for files with extensions txt, htm, html, cfm, cfml, shtm, shtml, css, asp, and asa, and binary is used for all other extensions. The list of extensions can be overridden using the ASCIIEXTENSIONLIST...

April 17, 2002

Reading Binary Files

To read binary files with make sure to specify ACTION="READBINARY" (and not the default ACTION="READ"). Binary files include images, audio, and video files. (Applies to: ColdFusion 5)

April 16, 2002

Passing Parameters to

Applications executed using may require that parameters (arguments) be passed to them. Parameters should not be specified as part of the executable NAME, rather, pass them to the ARGUMENTS attribute. (Applies to: ColdFusion 5)

Page 431 of 489 (4889 posts)