What is the role of the ColdFusion in interacting with OS ?

13.03.19 10:53 AM Comment(s) By alokjasmatiya99

ColdFusion OS

ColdFusion framework gives you services and tools to interact with the operating system through its tags and functions. There are many functions in this category which are useful in managing interaction b/w operating system and application like -

<cffile> - to manipulate files.

<cfdirectory> - to change the directories.

<cfzip> - to change the zip files to the system.

<cfregistry> - to change in the registry settings.

There are many <cffile> tag attributes which are used to set attributes to perform a dynamic action to the query, form fields contained in files. To stop the malicious actions in file system it is very necessary to use the file system tags very carefully. There are following tags in the <cffile> tag -

copy - to locate the file from source to destination.

move - to move the file from source to destination.

rename - to rename the file in a directory.

read - to read the content of the file through string variable.

write - to write the content in a file specified by string variable.

Hope you have liked this post ! Thanks for reading this post !

reference links -

https://solid-wood-furniture.myfreesites.net/life-long-learning

Get Started Now
Share -