background image

CFML Quick Reference

25

CFFTP query object columns

When you use CFFTP with the ListDir action, CFFTP returns a 
query object. Queryname is the value of the NAME attribute 
used in the CFFTP operation. Row is the row number for each 
file/directory entry returned by the ListDir operation. 

queryname

.Name[

row

]

queryname

.Path[

row

]

queryname

.URL[

row

]

queryname

.Length[

row

]

queryname

.LastModified[

row

]

queryname

.Attributes

queryname

.IsDirectory

queryname

.Mode

CFHTTP variables

CFHTTP GET operations can return text and binary files. Files 
are downloaded and the contents stored in a variable or file, 
depending on the MIME type. 

CFHTTP.FileContent
CFHTTP.MimeType
CFHTTP.Header

CFHTTP.ResponseHeader

[http_hd_key]

CFHTTP.StatusCode

CFLDAP variables

CFLDAP returns information about the LDAP query if 
ACTION=QUERY:

queryname

.CurrentRow

queryname

.RecordCount

queryname

.ColumnList

CFPOP variables

CFPOP returns the following result columns, depending on 
the value of the ACTION attribute and the use of other 
attributes like ATTACHMENTPATH. Queryname is the value of 
the NAME attribute used in the CFPOP operation. 

queryname

.Date

queryname

.From

queryname

.Body

queryname

.Header

queryname

.MessageNumber

queryname

.ReplyTo

queryname

.Subject

queryname

.CC

queryname

.To

queryname

.CurrentRow

queryname

.RecordCount

queryname

.ColumnList

queryname

.Attachments

queryname

.AttachmentFiles

Summary of Contents for COLDFUSION 5-CFML

Page 1: ...t of this publication may be reproduced stored in a retrieval system or transmitted in any form or by any means electronic mechanical recording or otherwise without the prior written permission of Mac...

Page 2: ......

Page 3: ...s 19 Other functions 19 ColdFusion Variables 20 Variable scope 20 Client variables 20 Server variables 20 Application and session variables 20 Custom tag variables 21 Request variable 21 Form variable...

Page 4: ...LQuickReference CFSERVLET variables 26 Standard CGI Variables 27 Request 27 Server 27 Client 27 ColdFusion Studio Keyboard Shortcuts 28 File and document keyboard shortcuts 28 Debugger Keyboard Shortc...

Page 5: ...te cfassociate baseTag base_tag_name dataCollection collection_name cfauthenticate cfauthenticate securityContext security_context username user_ID password password setCookie Yes or No throwOnFailure...

Page 6: ...field destination full_path_name nameConflict behavior accept mime_type file_type mode permission attributes file_attributes cffile action move source full_path_name destination full_path_name attribu...

Page 7: ...URLColumn query column showValueLabel yes no or rollover valueLabelFont Arial Courier or Times valueLabelSize number of points valueLocation onBar or overBar scaleFrom integer minimum value scaleTo i...

Page 8: ...ial Courier or Times fileFormat Flash gif or jpg graphHeight integer number of pixels graphWidth integer number of pixels backgroundColor Web color borderColor Web color borderWidth integer number of...

Page 9: ...URL_target select Yes or No display Yes or No type type headerFont font_name headerFontSize size headerItalic Yes or No headerBold Yes or No colHeaderTextColor Web color dataAlign position headerAlign...

Page 10: ...se expression HTML and CFML tags cfif cfimpersonate cfimpersonate securityContext SecurityContext username Name password Password type CF or OS HTML or CFML code to execute cfimpersonate cfinclude cfi...

Page 11: ...w_number modifyType REPLACE or ADD or delete rebind Yes or No referral number_of_allowed_hops secure multi_field_security_string separator separator_character delimiter delimiter_character cflocation...

Page 12: ...g_name attributeCollection collection_structure attribute_name1 value attribute_name2 value cfobject cfobject type COM action action class program_ID name text context context server server_name cfobj...

Page 13: ...xRows number blockFactor blocksize timeout milliseconds cachedAfter date cachedWithin timespan provider COMProvider providerDSN datasource debug SQL statements cfquery cfqueryparam cfquery name query_...

Page 14: ...e port port_number proxyPort port_number cfschedule action delete task TaskName cfschedule action Run task TaskName cfscript cfscript cfscript code goes here cfscript cfsearch cfsearch name search_nam...

Page 15: ...pace integer hSpace integer align alignment tickMarkMajor Yes or No tickMarkMinor Yes or No tickMarkImages URL1 URL2 URLn tickMarkLabels Yes or No or list lookAndFeel motif or windows or metal vertica...

Page 16: ...w cfthrow type exception_type message message detail detail_description errorCode error_code extendedInfo additional_information cftransaction cftransaction action begin or commit or rollback isolatio...

Page 17: ...ere cftry cfupdate cfupdate dataSource ds_name dbType type dbServer dbms dbName database name connectString connection string tableName table_name tableOwner name tableQualifier qualifier username use...

Page 18: ...henticatedUser IsAuthenticated security context name IsAuthorized resourcetype resourcename action Conversion functions Hash string ToBase64 string or binary_object ToBinary string_in_Base64 or binary...

Page 19: ...IsAuthenticated security context name IsAuthorized resourcetype resourcename action FileExists absolute_path IsBinary value IsBoolean value IsCustomFunction name IsDate string IsDebugMode IsDefined v...

Page 20: ...date time string LSParseEuroCurrency currency string LSParseNumber string LSTimeFormat time mask SetLocale new_locale List Functions ArrayToList array delimiter ListAppend list value delimiters ListC...

Page 21: ...umber Log number Log10 number Max number1 number2 Min number1 number2 Pi Rand Randomize number RandRange number1 number2 Round number Sgn number Sin number Sqr number Tan number Query functions IsQuer...

Page 22: ...expressions RemoveChars string start count RepeatString string count Replace string substring1 substring2 scope ReplaceList string list1 list2 ReplaceNoCase string substrng1 substrng2 scope REReplace...

Page 23: ...ction entry GetTempDirectory GetTempFile dir prefix GetTemplatePath SetProfileString iniPath section entry value Other functions CreateObject COM class context serverName CreateObject CORBA class cont...

Page 24: ...tCount Client LastVisit Client TimeCreated Client URLToken Server variables Use the Server prefix to reference server variables Server ColdFusion ProductName Server ColdFusion ProductVersion Server Co...

Page 25: ...store data that pertains to the processing of a single page request Request variables allow you to store data in a structure that can be passed to nested tags such as Custom Tags and processed once S...

Page 26: ...H CFSERVLET CFSTOREDPROC ColdFusion query variables Any ColdFusion tag that returns a query object supports the following variables queryname CurrentRow queryname RecordCount queryname ColumnList Wher...

Page 27: ...GeneratedContent Error RemoteAddress Error HTTPReferer Error Template Error QueryString The following error variables are available if you have speci fied TYPE Validation Error ValidationHeader Error...

Page 28: ...ritten CFFILE FileWasRenamed CFFILE FileWasSaved CFFILE OldFileSize CFFILE ServerDirectory CFFILE ServerFile CFFILE ServerFileExt CFFILE ServerFileName CFFILE TimeCreated CFFILE TimeLastModified CFFTP...

Page 29: ...e or file depending on the MIME type CFHTTP FileContent CFHTTP MimeType CFHTTP Header CFHTTP ResponseHeader http_hd_key CFHTTP StatusCode CFLDAP variables CFLDAP returns information about the LDAP que...

Page 30: ...ry queryname Type queryname Value CFSEARCH variables Every CFSEARCH operation returns the following variables Searchname is the value of the NAME attribute used in the CFSEARCH operation searchname UR...

Page 31: ...GI CONTENT_LENGTH CGI CONTENT_TYPE CGI PATH_INFO CGI PATH_TRANSLATED CGI QUERY_STRING CGI REMOTE_ADDR CGI REMOTE_HOST CGI REMOTE_USER CGI REQUEST_METHOD CGI SCRIPT_NAME Server CGI GATEWAY_INTERFACE CG...

Page 32: ...ment Shortcuts Command Key File Open Ctrl O File Save Ctrl S File Save As Shift Ctrl S File Close Ctrl W File Close All Shift Ctrl W File Print Ctrl P Open default template CTRL N Insert Code Template...

Page 33: ...s Expression Builder Shift Ctrl E Tools Spell Check F7 Tools Spell Check All Shift F7 Tools Mark Spelling Errors Ctrl F7 Tools Validate Document Shift F6 Tools Validate Current Tag F6 Open Development...

Page 34: ...g Tip for current tag Esc to close F2 Tags Edit Current Tag Ctrl F4 Tags Inspect Current Tag F4 Insert Underline tag Ctrl U Insert pound sign CTRL 3 View Full Screen F10 View QuickBar Ctrl H View Reso...

Page 35: ...art Continue Ctrl F5 Start No debugging Ctrl Alt F5 End Alt F5 Restart Ctrl Shift F5 Step Into Ctrl F8 Step Over Ctrl F9 Run To Cursor Ctrl F11 Variables Alt Q Watches Alt W Recordsets Alt R Stack Alt...

Page 36: ...32 CFML Quick Reference...

Reviews: