FileTransferClient.GetFileLength Method
Namespace: Rebex.Net
Assembly: Rebex.FileTransfer.dll (version 7.0.9119)
GetFileLength(String)
Retrieves the size of the specified remote file.
Declaration
public long GetFileLength(string remotePath)
Parameters
Type | Name | Description |
---|---|---|
String | remotePath | The path of the remote file. This cannot be a directory. |
Returns
Type | Description |
---|---|
Int64 | The size of the specified file in bytes. |