Returns the size of a remote file in bytes, or -1 if the file does not exist
Namespace:
KetLabs.FTPAssembly: Ftp (in Ftp.dll) Version: 1.0.0.19105 (1.0.0.*)
Syntax
| C# |
|---|
public long FileSize( string filename ) |
| Visual Basic (Declaration) |
|---|
Public Function FileSize ( _ filename As String _ ) As Long |
| Visual C++ |
|---|
public: long long FileSize( String^ filename ) |
Parameters
- filename
- Type: System..::.String
Remote file name