 | 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.ClientAssembly: Ftp (in Ftp.dll) Version: 2.0.26109.1248
Syntaxpublic 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 String
- The path of the remote file.
Return Value
Int64Size of the specified file in bytes.
Remarks
On some servers this command works on folders.
See Also