Gets the file size of a file on the remote server

Namespace:  HS.Sys.TheEnterprise.Common.Laserbear
Assembly:  Laserbear (in Laserbear.dll) Version: 1.1.0.0 (1.1.0.0)

Syntax

C#
public long GetFileSize(
	string remoteFile
)
Visual Basic (Declaration)
Public Function GetFileSize ( _
	remoteFile As String _
) As Long
Visual C++
public:
long long GetFileSize(
	String^ remoteFile
)

Parameters

remoteFile
Type: System..::.String
Name of the remote file

Return Value

Size of the file in bytes

See Also