Gets specified remote file and saves it in the current local directory
Namespace:
HS.Sys.TheEnterprise.Common.Laserbear
Assembly:
Laserbear (in Laserbear.dll) Version: 1.1.0.0 (1.1.0.0)
Syntax
| Visual Basic (Declaration) |
|---|
Public Function GetFile ( _
remoteFile As String, _
verifySize As Boolean _
) As Boolean |
Parameters
- remoteFile
- Type: System..::.String
Name of the remote file
- verifySize
- Type: System..::.Boolean
When set to true: Verifies the file size on remote server equals the local file size.
Will fail download if the file sizes do not match.
Return Value
True if file transfer is successful
See Also