- Introduction
- License
- History
- Compilation & Hosting
- Configuration File
- Modules:
- FAQ
- Links
- Credits
|
Declaration:
-
function http_copy(const source, dest: string): boolean;
Arguments:
-
source |
Source document URL, e.g. 'www.server.com/path/file.ext' |
dest |
Destination (local) file path, e.g. '/home/user/file.ext' or 'c:\fold\file.ext' |
Description:
-
This function creates local copy of a remote file.
Returns:
-
TRUE on success, FALSE on error.
Usage:
-
http_copy('www.serv.com/search.php?query=psp', 'pspsearch.txt');
See also:
-
http_get.
|