Ben Forta

Blog

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)

April 15, 2002

Do Not Nest

tags may not be nested. In fact, no CFML tags or functions should be used in between and (if the end tag is used). (Applies to: ColdFusion 5)

April 14, 2002

Redirecting Executed Application Output

is used to execute (run) applications, scripts, and batch files. To redirect any output generated by executed applications use the OUTPUTFILE attribute to specify a destination file name. (Applies to: ColdFusion 5)

April 13, 2002

And Non-Standard Ports

If your Web server is not on port 80 then you must specify the PORT when using . The port number should be passed to the PORT attribute. (Applies to: ColdFusion 4 or later)

April 12, 2002

Expiring Specific Cached Pages

Pages cached using may be flushed as needed using . The optional EXPIREURL attribute can also be used to flush specific URL's, and the * wildcard character may be used to match URL's (or parts of URL's). (Applies to: ColdFusion 4 or later)

Page 431 of 489 (4885 posts)