wget( url, filepath, location )
Returns -1 if fails, returns the server response code: Possible examples 200 = success, 301 = moved, 404 = not found.
- url = file to retrieve
- filepath = where destination file should be stored
- location = destination 'data' or 'script'.
|