Click or drag to resize

CHttp.GetFile Method

X#
Retrieves the remote file cRemoteFile to the (local) file cNewFile.

Namespace:  VO
Assembly:  VOInternetClasses (in VOInternetClasses.dll) Version: 2.19
Syntax
 VIRTUAL METHOD GetFile(
	cRemoteFile,
	cNewFile,
	lFailIfExists
) AS USUAL CLIPPER
Request Example View Source

Parameters

cRemoteFile (Optional)
Type: Usual
The name of the file on the remote server to retrieve.
cNewFile (Optional)
Type: Usual
The name to use when saving the file on the local drive.
lFailIfExists (Optional)
Type: Usual
IF lFailIfExists is set to TRUE the method will fail if the file exists on the local disk. If it is set to FALSE an existing file will be over written.

Return Value

Type: Usual
TRUE if the file is saved, otherwise FALSE.
See Also