You can use the cffile tag to create a copy a file on the server.
Example of Moving a File
The following code moves the source file to the location specified with the destination attribute.
destination="C:\docs\accessLog_backup.txt">
Example of Copying a File
The following code copies the source file to the location specified with the destination attribute.
destination="C:\docs\accessLog_backup.txt">
Source : http://www.quackit.com/coldfusion/tutorial/coldfusion_move_file.cfm
No comments:
Post a Comment