| FtpGetFileSize Method |
Returns the size of the specified remote file.
You can check the value of
SupportsSize of
Extensions property to check if this method is supported by the remote server.
Namespace:
Limilabs.FTP.Client
Assembly:
Ftp (in Ftp.dll) Version: 2.0.22214.1022
Syntax public long GetFileSize(
string remotePath
)
Public Function GetFileSize (
remotePath As String
) As Long
public:
long long GetFileSize(
String^ remotePath
)
member GetFileSize :
remotePath : string -> int64
Parameters
- remotePath
- Type: SystemString
The path of the remote file.
Return Value
Type:
Int64Size of the specified file in bytes.
Remarks
On some servers this command works on folders.
See Also