The filename, path, parent directory, type, size, when the file was most recently modified, whether the file has read permission, write permission, and is hidden. Legal Notices Online Privacy Policy. GetFileInfo Search. Click the button below to launch CFFiddle. To copy the project in your workspace in CFFiddle, follow the steps below: Log in with your Gmail or Facebook credentials.
However I keep running into wall as I'm not sure how to do this. Still an amateur with ColdFusion. Side note: some of the variables and code are made up for the sake of security and anonymity.. ANY help is really appreciated, I have been banging my head against a wall on this one and feel like it might be something super simple.
Please help! Without knowing the actual values, it sounds like your query contains absolute paths of individual files. One option is to loop through the query and add a cfzipparam for each file. Here's a stand alone example, you can adapt. It uses CFML because that's what's in your example, but if your comfortable with script syntax, look for the cfscript based versions in the link above. Brief aside, you don't have to post actual paths. Most of the time, it's irrelevant anyway ;- However please do post hard coded values that represent the actual path - NOT variables.
I suspect that your file and source locations are incorrect. Use ExpandPath function to make sure its going to the correct place. Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams? Collectives on Stack Overflow. Learn more. Asked 2 years, 11 months ago. Active 2 years, 11 months ago. All names that match that pattern are included in the list.
The following two characters have special meaning in the pattern and are called metacharacters:. Legal Notices Online Privacy Policy. Description Manages interactions with directories. Category File management tags Syntax. See also cffile History ColdFusion Added the action copy and the attribute destination. ColdFusion 9. ColdFusion 8: Added the listinfo and type attributes. ColdFusion MX 7: Added the recurse attribute and directory result set column.
The directory entries ". To qualify a column, use one of the following values: asc : ascending a to z sort order. Usage If you put ColdFusion applications on a server that is used by multiple customers, you must consider the security of files and directories that could be uploaded or otherwise manipulated with this tag by unauthorized users.
The entries ". Use the following result columns in standard CFML expressions, preceding the result column name with the query name: mydirectory.
0コメント