help files
Z505 | PasWiki | FUQ | Search | Main Docs | API Guide



[Overview][Types][Procedures and functions][Variables] Reference for unit 'http' (#powtils_main)

HttpCopy

Declaration

Source position: http.pas line 42

function HttpCopy(

  const source: String;

  const dest: String

):Boolean;

Notes

Copy remote file to local one.

Source must be full HTTP URL (may even contain get params), example:

  www.server.com/path/script.php?cid=256&name=example

Get prams must be URLEncoded

Dest is local file name accessible for writing}

Tips

No httpconnect or httpclose is required before making a call to this function. It does that internally for you.





lufdoc, Powtils, fpc, freepascal, delphi, kylix, c/c++, mysql, cgi web framework docs, Z505