Click or drag to resize
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.GXNetX
Assembly: 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.
Syntax
public static int iDownloadHTTP(
	CGXNETCore gxNetShared,
	string url,
	string file,
	int size
)

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