Click or drag to resize

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
Syntax
public static int iDownloadHTTP(
	string url,
	string file,
	int size
)

public static int iDownloadHTTP(
	string url,
	string file,
	int size
)

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