search : file functions

select a category, or use search below
(searches all categories and all time range)

displaying top 100 results

using functions of an included file makes coldfusion ignore imports
Comment on using functions of an included file makes coldfusion ignore imports by External U.
Comment on using functions of an included file makes coldfusion ignore imports by External U.
Comment on using functions of an included file makes coldfusion ignore imports by External U.
Comment on using functions of an included file makes coldfusion ignore imports by External U.
Comment on using functions of an included file makes coldfusion ignore imports by External U.
Bug 83689:Changes to functions in a CFC file do not appear in the cfdump output
Add isFile and isDirectory functions
FileOpen/fileWrite functions fails when filename contains a % character
Tracker Issue FTP file synch
2682684 CFB-3759000 FTP\SFTP\FTPS p3142 FTP file synch Simple file compare and sync is essential functionality. Specifically the ability to compare file(s) on the local server to the remote (production) server, and if required, synchronise. Clearly transferring files using FTP
Comment on Add isFile and isDirectory functions by External U.
Comment on FileOpen/fileWrite functions fails when filename contains a % character by External U.
2673466 CF-4126520 Installation/Config : Installer Shigeyoshi Muraoka Wrong adminconfig.xml file Problem Description: When I installed ColdFusion Raijin (with language "???(Japanese)" selected) and launched the Configuration Wizard, getAdminProperty function error occurred. Steps to Reproduce
SauravGhosh CFFiddle for Flow control tags and a few more functions Picking up from where we left off on updating the docs with CFFiddle links, we have now extended the links to the following tag and function categories: File functions Query functions Decision functions Data output functions Flow
Comment on Add isFile and isDirectory functions by External U.
Comment on FileOpen/fileWrite functions fails when filename contains a % character by Vamseekrishna N.
Comment on FileOpen/fileWrite functions fails when filename contains a % character by CFwatson U.
Comment on FileOpen/fileWrite functions fails when filename contains a % character by External U.
length file. The file in question is a simple text file. Steps to Reproduce: write some code to upload a file and try to use it. My example uses a 3rd party where I am uploading a text file to late use to send email to email addresses contained in that text file. function http
2608653 CF-4033628 External U. Exactly that. Not all headless functions directly map to methods of an object. Some of them are better suited to being methods of a class. eg: Procedural: myFileHandle = fileOpen(pathToMyFile); OO: myFileHandle = File::open(pathToMyFile); Adobe ballsed
[ER]: Decision Member functions Support
. Or as Luis Suggested fileRead( file, function(contents){ process file here in the background once it is read. }); or fileRead( file, function);
functions Struct functions List functions Date/time functions The next task is to link CFFiddle with Query and Decision functions, and also a few File functions. As always, please use CFFiddle to test the samples. If there are sample(s) that you want to be modified/corrected, share the link […] The post
FileAppend() function support
Bug 78981:If a cache'd function's code file is deleted, it can no longer be gotten from the cache
GetNodeType) .search() (equivalent of XmlSearch) .transform() (equivalent of XmlTransform) Since ColdFusion also supports using array and structure functions to manage XML document objects, I filed CF-4199973 to add the relevant string, struct and array member functions on XML variables. ColdFusion 2018 added
Memory leak in spreadsheet functions
", these path references should be dynamic so you can properly lock down /CFIDE without breaking functionality. ----------------------------- Additional Watson Details ----------------------------- Watson Bug ID: 3722462 External Customer Info: External Company: External Customer Name: pete
2611076 CF-3643414 External U. I found a more efficient method as a workaround by using the FIleOpen(Filename,"append") and FileWrite() functions.
2609471 CF-3844976 External U. FWIW, filed CF-4152447 to likewise update the .sort() member functions. Thanks!, -Aaron
2611060 CF-3647042 Document Management : Office Integration Raymond Camden Enable "spreadsheet to query" for functions As far as I can tell, there is no easy way (with functions) to create a query from a spreadsheet. If you use cfspreadsheet, you can quickly convert a file into a query. To do so
to read an Excel object that is stored in a variable and not saved to disk. This could allow a reduction in disk I/O while still being able to manipulate an Excel object. Additionally, there are other tags/functions that can use both a file path or a file object. Propose adding this to CF 10 and all
2609785 CF-3773095 External U. I disagree with this bit: "var foo = 1" outside of functions to "variables.foo = 1" Because a VARed variable is *not* in the variables scope in the normal sequence of events. I would actively vote AGAINST this idea. However I see a case for being able to have file
Bug 87151:The function "spreadSheetSetColumnWidth" does not work with more than 256 columns in an Excel xlsx file
Datetime functions return incorrect / inconsistent results
'm guessing this is a compilation issue due to something in ACF implementation of queryExecute() and it needing to know the left-hand assignment variable name. However, it should never be altering a custom method/function that has the same name. Steps to Reproduce: https://cffiddle.org/app/file?filepath=4d1
2597510 CF-3043673 CFIMAGE Aaron Neff Bug 86766:[ANeff] Bug for: image functions fail on png w/ Problem: [ANeff] Bug for: image functions fail on png w/ .jpg extensionExamples:1) When a .jpg is renamed to .png, then isImageFile() returns true.2) When a .png is renamed to .jpg, then isImageFile
Bug 83446:Please provide access to the file upload information, possible via a function, to make handling uploads easier
5368724 CF-4204029 Aaron N. Hi Mukesh, Thank you very much for the discussion. *Technically*, your idea works. However, I have another concern.. IMO, the CF language is not predictable if: 1) When _writing_, we use *separate functions* (FileWrite() vs FileWriteLine()) to toggle the addnewline
2878494 CFB-4198192 Editor Features,Performance David Belanger High processor and memory usage when editing a simple cfm file Problem Description: When I'm editing a cfm file, while editing a function, after I hit comma and space (to enter another parameter) CFBuilder goes unresponsive. My
[ANeff] ER for: Numeric member functions
2596695 CF-3806526 External U. same on 9.0.2 example: public void function SimpleFunction1 (struct incomingStruct) { writelog(application = true, type = "information", file = "sean", text = "This is SimpleFunction1."); } writelog(application = true, type = "information", file = "sean", text
2609720 CF-3793029 External U. This issue was fixed for ColdFusion.Grid functions, but not for ColdFusion.Layout functions. Filed CF-3914318 for ColdFusion.Layout functions. Thanks!, -Aaron
3085992 CF-4198656 Matthew H. Here is some simple code as a test example of the cfajaxproxy version of the issue. CFM FILE: function runTest() { var instance = new p(); instance.setHTTPMethod("POST"); var result = instance.testProxy('Test String'); alert(result); } CFC FILE:
Bug 86808:Can we have CFFILE action="rename" implemented as a script function, ie FileRename()? I think it's the only file action left without a script equivalent
Bug 78705:Please add a FileReadLine() function
3122922 CF-4198748 File Management Peter Freitag Add getCanonicalPath function It would be useful to have a builtin getCanonicalPath function which would essentially just call the java.io.File getCanonicalPath function. The canonical path is useful for performing security checks on file paths.
5368724 CF-4204029 File Management [ANeff] Bug for: Inconsistencies between I/O tags and functions regarding write, append, and newline *NOTE* This ticket is a blocker to CF-4203313, b/c Adobe suggests CF-4203313 should add parameters to FileWrite() while other inconsistencies exist. CF-4203313's
Output("#e.type#: #e.message#; #e.detail#"); } } {code} Errors with: function: The value returned from the regurgitateFunction function is not of type function.; If the component name is specified as a return type, it is possible that either a definition file for the component cannot be found
-1" with cffile write. And then read it with cfloop. What cfloop needs is the same functionality as cffile for handling different character sets. It should have a charset attribute and be able to automatically detect the correct character set. ----------------------------- Additional Watson Details
2613519 CF-3299625 External U. Hi Adam and Rupesh, 1) If getFileInfo(filePath).type returns "file", then shouldn't isFileObject(fileRead(filePath)) return YES? 2) Also, getFunctionList() doesn't list isFileObject(). Steps to Reproduce: filePath = expandPath("./myfile.txt"); a = fileOpen(file
6526919 CF-4206170 Documentation : Examples,File Management : CFFile Example of FilePath() in documentation uses invalid parameter filePath when it should be file Problem Description: The example shown for FilePath() in the documentation at https://helpx.adobe.com/coldfusion/cfml-reference/coldfusion-functions/functions
5368724 CF-4204029 Aaron N. Hi Adobe, Basically, if additional attributes are added as parameters to FileWrite(), they'd need added to FileWriteLine(), FileAppend() and FileAppendLine() where relevant. This ticket reveals an unclear direction in the planning of CF8's I/O functions. I wasn
Comment on Memory leak in spreadsheet functions by Piyush K.
2609193 CF-3913903 Nimit S. We understand that it's a good functionality to have but we already have a feature using which we can import car file to newly created instance and it's a time thing. We can still reconsider this functionality if we have enough vote.
struct to an array and passing this to the `QueryAddRow()` function, the resulting query contains the entire arguments struct in the second field of the first row. All the above works as expected in Lucee. Steps to Reproduce: Fiddle here: https://cffiddle.org/app/file?filepath=92e9527d-8913-4a90-b12a
:java} component { function foo( data ) { var data = ''; } } {code:java} Actual Result: The error message points to line 1 of the index.cfm file and not to line 4 of the my.cfc where the actual error happened. Expected Result: to line 4 of the my.cfc where the actual error happened. Any
(); })); writeOutput("binaryDecode()"); writeDump(var=safeCall(function(){ var binary = fileReadBinary(expandPath('./' & getFileFromPath(getCurrentTemplatePath()))); var base64 = toBase64(binary); return base64.binaryDecode("base64"); })); writeOutput("binaryEncode()"); writeDump(var=safeCall(function
2609471 CF-3844976 External U. So this was fixed for append member functions, but not other member functions. And the headless ones remained unchanged. We need to file separate tickets to fix each member function? As well as the headless ones? Again, +1 to Adam's comment below
Count Now in cases where a large amount of data in a file that can lead to memory overruns, one cannot pull information such as no. of records in a sheet without loading the data first. That there is a catch 22 kind of a situation. The only functionality that I see missing is to identify hidden sheets
Comment on Member functions cannot be called on literals by Aaron N.
Comment on Not all numbers have the same member functions by Aaron N.
Comment on RDS Server Fileview File Rename and Delete Functions inadvertently rename or delete entire folder by extuser
by dev system is missing WEB-INF/cfusion/lib/quartz/quartz.properties file. "Thread count must be > 0" error in scheduler.log during ColdFusion startup on test system. Expected Result: quartz.properties file should be included in archive so scheduler will function properly. Any Workarounds: Manually
app 4) run mypage.cfm Actual Result: ----------- The error occurred in {path}/MyCFC.cfc: line 4 2 : component rest=true restpath="a" { 3 : remote string function returnVoid(string c restargsource="path") httpmethod="GET" restpath="b/{c}" produces="application/json" { 4 : o = new mymapping
Comment on AWS S3 interaction - File Append error with CFFILE tag and function by Keith L.
Charlie Arehart A fix for the error: ColdFusion was unable to create an image from the specified source file How to solve a problem that may not be obvious: the CFML image tags and functions that accept a URL won't follow a redirect, but instead fail with this cryptic error. The post A fix
upon httpclient) DOES automatically follow redirects (up to 4 times, per the docs, unless it's told NOT to). Is there any reason that the CFML image processing tags and functions can't be changed to also follow redirects, unless told otherwise? And I have not filed this as a feature request
Comment on [ANeff] Bug for: Inconsistencies between I/O tags and functions regarding write, append, and newline by Aaron N.
2608723 CF-4017002 Subir J. We are using third party library to leverage this functionality. We have raised this issue with them and are waiting for a response. WIll include the fix once they response back to us. Thanks Subir
Comment on Bug 87151:The function "spreadSheetSetColumnWidth" does not work with more than 256 columns in an Excel xlsx file by Kunal S.
2609170 CF-3916425 Adobe D. The issue here was difference of behavior for the same path when directory list was invoked from tag and from function. Now in both cases empty file list will be returned(keeping it consistent with previous CF behavior) in case directory cannot be located from the given
Comment on Bug 83446:Please provide access to the file upload information, possible via a function, to make handling uploads easier by External U.
is submitted. Your form was submitted This form is replaced by the action page Method: Open the file with the code (above) and try submitting the form. You'll get an error. If you look at the ColdFusion.Ajax.checkForm function, you'll see
Comment on [ANeff] Bug for: Inconsistencies between I/O tags and functions regarding write, append, and newline by Aaron N.
2608137 CF-4183676 External U. I figured a solution to this problem by using the underlying page object of a component: http://stackoverflow.com/questions/39130369/execute-a-function-in-the-context-of-another-cfc-in-coldfusion-while-honoring-im/39133960#39133960
5652628 CF-4204270 Piyush K. Changing this to an enhancement. Looks like we can use some new function to set the visibility of sheets, and also return the visibility status of sheets. That info can be appended to the struct returned by spreadsheetInfo as well.
Bug 83723:(Watson Migration Closure) can read from an XLS file into a query, but how about a function that can do that? Would be very nice if there was a function that could read from an in-memory spreadsheet object to a
Path#. Any Workarounds: none found based on CF exclusively. Function recoded to call imagemagick convert function via .
. However, setting the value to 724 will produce a valid spreadsheet. Actual Result: By viewing the Excel "styles.xml" and "sheet1.xml" files, it is clear that every formatted cell has a separate style definition, even those cells formatted using the SpreadSheetFormatCellRange function. Expected Result
Bug 82914:(Watson Migration Closure)If you use fileUpload with nameconflict=error, the error mentions the "tag", not the function
2597031 CF-3183072 S V. Added a fix to xmlParse function to identify the encoding from the given xml files.
as string, you can make use of relevant spreadsheet methods. The spreadsheet functions are data-aware CF11 onwards, enabling the user to control how the functions interpret the datatype of the passed data. Even if you don't pass the datatype parameter the spreadsheetAddRow(s) method will default to string
2616149 CF-3040504 External U. Even just using the following code will throw the error. function FileDateCreated(path) { var returnValue = ''; var FileSystemObject = CreateObject('COM', 'Scripting.FileSystemObject'); var GetFile = ''; if(FileExists(path)) { GetFile
Comment on [ANeff] Bug for: Inconsistencies between I/O tags and functions regarding write, append, and newline by Mukesh K.
support to the following functions/operations so they can be processed natively in the background (non-blocking) and then call back when done. FileRead FileWrite cfquery http cffeed/feed cfmail/mail storedproc ftp etc Basically any operation that can block a network or local resource. Imagine doing
Comment on Mixed-in functions cannot access SUPER "scope" on first hit to a function by External U.
4102685 CF-4201584 Documentation Aaron Neff [ANeff] Doc Bug for: FileOpen's FileRead link is incorrect Issue: FileOpen's FileRead link is incorrect Steps to Reproduce: go to https://helpx.adobe.com/coldfusion/cfml-reference/coldfusion-functions/functions-e-g/fileopen.html Actual Result: 'See also
Comment on AWS S3 interaction - File Append error with CFFILE tag and function by Aaron N.
that people add (rather than having to remember them). Additionally, it'd be nice if CF had a charsetDetect() function which tried to guess the encoding of a string and of a text file. Thanks, -Aaron
Comment on [ANeff] Doc Bug for: CFFiddle's restricted tags and functions undocumented by Aaron N.
5746462 CF-4204398 David F. Please fix this as it has broken our Signature capture functionality. We had to roll back but we need this addressed to apply relevant security patches.
Comment on [ANeff] Bug for: Inconsistencies between I/O tags and functions regarding write, append, and newline by Aaron N.
="string" type="string";property name="when_created" ormtype="timestamp" type="timestamp";public string function getIDName() {var id = StructFindValue( GetMetaData(This), "id")[1].owner.name;return id;}public any function getIDValue() {return variables[getIDName()];}public void function setIDValue(any idvalue
2602041 CF-3037297 Language : Functions Jared C Rypka-Hauer Bug 75047:(Watson Migration Closure)Please allow us to include a file path to queryNew() to create a query from data on disk Problem: Please allow us to include a file path to queryNew() to create a query from data on disk. The function
2597031 CF-3183072 External U. Since ColdFusion's default page encoding became UTF-8, developers naturally expect functions and tags to read files in UTF-8, by default. Therefore, please ensure that functions and tags that read file content, like xmlParse(), fileRead(), cfxml, cffile
Comment on Bug 83723:(Watson Migration Closure) can read from an XLS file into a query, but how about a function that can do that? Would be very nice if there was a function that could read from an in-memory spreadsheet object to a by External U.