'Declaration Public Function GetFileSize( _ ByVal fileName As System.String _ ) As System.Long
'Usage Dim instance As SFTP Dim fileName As System.String Dim value As System.Long value = instance.GetFileSize(fileName)
public System.long GetFileSize( System.string fileName )
public function GetFileSize( fileName: System.String ): System.Int64;
public function GetFileSize( fileName : System.String ) : System.long;
public: System.long GetFileSize( System.string* fileName )
public: System.int64 GetFileSize( System.String^ fileName )
Parameters
- fileName
- Name of file in the current directory
Return Value
The file size, or -1 on failure