![](../icons/Help.png) | CINTERNETiDownloadHTTP Method |
Download HTTP file from the internet to file.
Available since Oasis montaj version: 5.0
License: Available to anyone with an Oasis Montaj license.
Namespace: Geosoft.Desktop.GXNetXAssembly: geosoft.desktop.gxnetx (in geosoft.desktop.gxnetx.dll)
Notes
The file must be stored on a server that supports
the HTTP protocol and not require a password.
Syntaxpublic static int iDownloadHTTP(
CGXNETCore gxNetShared,
string url,
string file,
int size
)
Public Shared Function iDownloadHTTP (
gxNetShared As CGXNETCore,
url As String,
file As String,
size As Integer
) As Integer
public:
static int iDownloadHTTP(
CGXNETCore^ gxNetShared,
String^ url,
String^ file,
int size
)
static member iDownloadHTTP :
gxNetShared : CGXNETCore *
url : string *
file : string *
size : int -> int
Parameters
- gxNetShared
- Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore - 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
See Also