Retrieving filesize information

Top  Previous  Next

You can retrieve the byte size of a file using the Sftp#getFilesize method.

 

Example

 

// get size of file image.gif in bytes

long filesize = sftp.getFilesize("image.gif");





Home | Company | Products | Solutions | Purchase | Support | Services | Blog

© 2021 JSCAPE LLC