hierynomus / hierynomus/sshj

Could sshj check sftp storage size?

Open
#549 2 comments 2 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
2.7k
Forks
620
Avg merge
3d 23h
Merged PRs (30d)
11

Description

Hi there,

I want to check the size of server sftp, but when I go through those 3 methods,

>
System.out.println("att size " + sftpClient.size("/"));
System.out.println("att size " + sftpClient.lstat("/").getSize());
System.out.println("att size " + sftpClient.stat("/").getSize());
>
they all return with 4096, am i calling the wrong method? or what's the right method to get the sftp server size?

Thanks in advance.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.