Whether you delete a file or delete a directory, you need only one line of code to complete
Delete a file (delete the file generated before _samples/test.txt)
<chtml> <file act=del>_samples/test.txt</file></chtml>
Delete _samples/test.txt file
(example file: _samples/file_del.html)
Delete Directory
<chtml> <file act=del>_samples/deldir</file></chtml>
Delete _samples/deldir Catalogue
The complete code
Run for the first time
Second run
(example file: _samples/file_del_dir.html)
Too easy, unable to write more words to explain, let's try it yourselfDownload and description of light-open platform resources
platform free Download:http://download.csdn.net/detail/tx18/8381859
Latest Development Manual Download: http://download.csdn.net/detail/tx18/8411089
Development example: Light Open e-commerce website , free download: http://download.csdn.net/detail/tx18/8318585
The light-open platform will be upgraded to provide you with more powerful and easy features, please note the latest development manuals
File tags easy to delete files and directories