Example usage for org.apache.commons.vfs2.provider.sftp SftpFileSystem subclass-usage

List of usage examples for org.apache.commons.vfs2.provider.sftp SftpFileSystem subclass-usage

Introduction

In this page you can find the example usage for org.apache.commons.vfs2.provider.sftp SftpFileSystem subclass-usage.

Usage

From source file org.pentaho.di.core.vfs.SftpFileSystemWindows.java

public class SftpFileSystemWindows extends SftpFileSystem {

    private static final LogChannelInterface log = new LogChannel("SftpFileSystemWindows");
    private static final String WHO_AMI_GROUPS_FO_LIST = "Whoami /GROUPS /FO LIST"; //windows command for getting croups for current user
    private static final String WHO_AMI = "Whoami "; ////windows command for getting current user
    private static final String ICACLS = "icacls "; //windows command for getting permissions for file