net.sf.commons.ssh
Class SftpSessionOptions

java.lang.Object
  extended by net.sf.commons.ssh.SftpSessionOptions

public class SftpSessionOptions
extends java.lang.Object

Since:
1.2
Author:
Egor Ivanov (crackcraft at gmail dot com)

Field Summary
 int defaultPermissions
           
 java.lang.String localCurrentDirectory
           
 java.lang.String remoteCurrentDirectory
           
 
Constructor Summary
SftpSessionOptions()
           
SftpSessionOptions(java.lang.String remoteCurrentDirectory, java.lang.String localCurrentDirectory)
          Creates an instance of SftpSessionOptions with umask = 0022
SftpSessionOptions(java.lang.String cwd, java.lang.String lcwd, int defaultPermissions)
          Creates an instance of SftpSessionOptions
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

defaultPermissions

public int defaultPermissions

localCurrentDirectory

public java.lang.String localCurrentDirectory

remoteCurrentDirectory

public java.lang.String remoteCurrentDirectory
Constructor Detail

SftpSessionOptions

public SftpSessionOptions()

SftpSessionOptions

public SftpSessionOptions(java.lang.String remoteCurrentDirectory,
                          java.lang.String localCurrentDirectory)
Creates an instance of SftpSessionOptions with umask = 0022

Parameters:
remoteCurrentDirectory - Remote current working directory
localCurrentDirectory - Local current working directory

SftpSessionOptions

public SftpSessionOptions(java.lang.String cwd,
                          java.lang.String lcwd,
                          int defaultPermissions)
Creates an instance of SftpSessionOptions

Parameters:
cwd - Remote current working directory
lcwd - Local current working directory
defaultPermissions - Default permissions


Copyright © 2009. All Rights Reserved.