How to check size of file system on remote sftp server using commands?
Using the services present in open ssh package
Use the service sftp and pass the required command/s.
HTH
ls will give you filesize also. you can probably parse string.
1 Like