Using cffile

The cffile tag gives you the ability to work with files on your server in a number of ways:

You use the action attribute to specify any of the following file actions: upload, move, rename, copy, delete, read, readBinary, write, and append. The required attributes depend on the action specified. For example, if action="write", ColdFusion expects the attributes associated with writing a text file.


Note

Consider the security and logical structure of directories on the server before allowing users access to them. You can disable the cffile tag on the Tag Restrictions page of the ColdFusion Administrator Security tab. Also, to access files that are not located on the local ColdFusion Server system, ColdFusion services must run using an account with permission to access the remote files and directories.




Banner.Novgorod.Ru