Retrieving filesize information |
You can retrieve the byte size of a file using the Sftp.GetFileSize method.
Example
[C#]
// get remote filesize
long filesize = sftp.GetFileSize("web.xml");
[VB]
' get remote filesize
Private filesize As Long = sftp.GetFileSize("web.xml")