CHttp.GetFile Method | |
Retrieves the remote file cRemoteFile to the (local) file cNewFile.
Namespace:
VO
Assembly:
VOInternetClasses (in VOInternetClasses.dll) Version: 2.21
Syntax VIRTUAL METHOD GetFile(
cRemoteFile,
cNewFile,
lFailIfExists
) AS USUAL CLIPPER
[ClipperCallingConventionAttribute(new string[] { ... })]
public virtual Usual GetFile(
Usual cRemoteFile = default,
Usual cNewFile = default,
Usual lFailIfExists = default
)
Request Example
View SourceParameters
- 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