| |
copyfile
Format:
copyfile (from,to) |
Purpose:
Copies file from one location to another.
The parameters from and
to are filenames
and must be of type string.
Return Values:
Returns 0 on success, -1 on failure.
Configuration:
The function is not allowed in secure mode.
Example:
// The example shows how to use the copyfile function and the
// deletefile function to implement a movefile function:
<defenv mymovefile f g;
copyfile(f,g);
deletefile(f);
/defenv> |
See Also:
deletefile(), directory(), mkdir(), movefile(), readFileLines(), stat(), utime(), writefile.
This page was dynamically generated by the
web application development tool RADpage
of H.E.I.
Try the AJAX Article
(in German) on www.h-e-i.de.
© 1996-2025 H.E.I. All Rights Reserved.
|