use of com.trilead.ssh2.SFTPv3FileAttributes in project Payara by payara.
the class SFTPClient method chmod.
public void chmod(String path, int permissions) throws IOException {
path = normalizePath(path);
SFTPv3FileAttributes atts = new SFTPv3FileAttributes();
atts.permissions = permissions;
setstat(path, atts);
}
Aggregations