file_downloader
class file_downloader
Constants
OK |
|
NOT_FOUND |
|
REQUEST_TIMEOUT |
|
Properties
protected string | $error_string | ||
protected int | $error_number |
Methods
Client
create_client(string $host, int $port = 443, int $timeout = 6)
Create new guzzle client
bool|string
get(string $host, string $directory, string $filename, int $port = 443, int $timeout = 6)
Retrieve contents from remotely stored file
string
get_error_string()
Get error string
int
get_error_number()
Get error number
Details
at line 41
protected Client
create_client(string $host, int $port = 443, int $timeout = 6)
Create new guzzle client
at line 76
bool|string
get(string $host, string $directory, string $filename, int $port = 443, int $timeout = 6)
Retrieve contents from remotely stored file
at line 137
string
get_error_string()
Get error string
at line 147
int
get_error_number()
Get error number