 | CINTERNETiDownloadHTTP Method |
Download HTTP file from the internet to file.
Namespace:
Geosoft.Desktop.GXNet
Assembly:
geosoft.desktop.gxnet (in geosoft.desktop.gxnet.dll) Version: 2024.2.0.25
Syntaxpublic static int iDownloadHTTP(
string url,
string file,
int size
)
public static int iDownloadHTTP(
string url,
string file,
int size
)
Public Shared Function iDownloadHTTP (
url As String,
file As String,
size As Integer
) As Integer
Public Shared Function iDownloadHTTP (
url As String,
file As String,
size As Integer
) As Integer
public:
static int iDownloadHTTP(
String^ url,
String^ file,
int size
)
public:
static int iDownloadHTTP(
String^ url,
String^ file,
int size
)
static member iDownloadHTTP :
url : string *
file : string *
size : int -> int
static member iDownloadHTTP :
url : string *
file : string *
size : int -> int
Parameters
- url
- Type: SystemString
HTTP URL - file
- Type: SystemString
File Name to save to - size
- Type: SystemInt32
No longer used, just pass 0
Return Value
Type:
Int32
0 - Ok
1 - Error
Remarks
The file must be stored on a server that supports
the HTTP protocol and not require a password.
See Also