Class/Object

fr.janalyse.ssh

SSHFtp

Related Docs: object SSHFtp | package ssh

Permalink

class SSHFtp extends TransfertOperations with SSHLazyLogging

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SSHFtp
  2. SSHLazyLogging
  3. TransfertOperations
  4. CommonOperations
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SSHFtp()(implicit ssh: SSH)

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def cd(path: String): Unit

    Permalink

    Change the working directory on the remote system

    Change the working directory on the remote system

    path

    The new working directory, relative to the current one

  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def close(): Unit

    Permalink
  8. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. def get(filename: String): Option[String]

    Permalink

    get remote file content as an optional String

    get remote file content as an optional String

    returns

    Some content or None if file was not found

    Definition Classes
    SSHFtpTransfertOperations
  12. def getBytes(filename: String): Option[Array[Byte]]

    Permalink

    get remote file content as an optional bytes array

    get remote file content as an optional bytes array

    returns

    Some content or None if file was not found

    Definition Classes
    SSHFtpTransfertOperations
  13. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  14. def getStream(filename: String): Option[InputStream]

    Permalink

    get remote file content as an optional InputStream

    get remote file content as an optional InputStream

    filename

    file content to get

    returns

    Some content or None if file was not found

  15. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  16. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  17. def localmd5sum(filename: String): Option[String]

    Permalink

    locale file md5sum

    locale file md5sum

    filename

    file name

    returns

    md5sum as an optional String, or None if filename was not found

    Definition Classes
    CommonOperations
  18. val logger: Logger

    Permalink
    Definition Classes
    SSHLazyLogging
  19. def ls(path: String): List[LsEntry]

    Permalink

    List contents of a remote directory

    List contents of a remote directory

    path

    The path of the directory on the remote system

  20. def mkdir(path: String): Unit

    Permalink

    Creates a directory on a remote system

    Creates a directory on a remote system

    path

    The name of the directory to create

  21. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  22. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  23. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  24. def put(data: String, remoteFilename: String): Unit

    Permalink

    upload string content to a remote file, if file already exists, it is overwritten

    upload string content to a remote file, if file already exists, it is overwritten

    data

    content to upload in the remote file

    Definition Classes
    SSHFtpTransfertOperations
  25. def putBytes(data: Array[Byte], remoteFilename: String): Unit

    Permalink

    upload bytes array content to a remote file, if file already exists, it is overwritten

    upload bytes array content to a remote file, if file already exists, it is overwritten

    data

    content to upload in the remote file

    Definition Classes
    SSHFtpTransfertOperations
  26. def putFromStream(data: InputStream, remoteDestination: String): Unit

    Permalink
  27. def putFromStream(data: InputStream, howmany: Int, remoteDestination: String): Unit

    Permalink

    upload bytes coming from the input stream to a remote file, if file already exists, it is overwritten

    upload bytes coming from the input stream to a remote file, if file already exists, it is overwritten

    data

    input stream

    howmany

    how much data to write to remote destination

    remoteDestination

    remote destination

    Definition Classes
    SSHFtpTransfertOperations
  28. def receive(remoteFilename: String, outputStream: OutputStream): Unit

    Permalink

    Copy a remote file to a local one

    Copy a remote file to a local one

    remoteFilename

    Source file name (on remote system)

    outputStream

    Destination stream (local system)

    Definition Classes
    SSHFtpTransfertOperations
  29. def receive(filename: String): Unit

    Permalink

    Copy a remote file to a local one using the same filename

    Copy a remote file to a local one using the same filename

    filename

    file name

    Definition Classes
    TransfertOperations
  30. def receive(remoteFilename: String, localFilename: String): Unit

    Permalink

    Copy a remote file to a local one

    Copy a remote file to a local one

    remoteFilename

    Source file name (on remote system)

    localFilename

    Destination file name (local system)

    Definition Classes
    TransfertOperations
  31. def receive(remoteFilename: String, toLocalFile: File): Unit

    Permalink

    Copy a remote file to a local one

    Copy a remote file to a local one

    remoteFilename

    Source file name (on remote system)

    Definition Classes
    TransfertOperations
  32. def receiveNcompress(remoteFilename: String, localDirectory: File, localBasename: String): File

    Permalink

    Copy and compress (if required) a remote file to a local one

    Copy and compress (if required) a remote file to a local one

    remoteFilename

    Source file name (on remote system)

    localDirectory

    Destination directory

    returns

    local file used

    Definition Classes
    TransfertOperations
  33. def receiveNcompress(remoteFilename: String, localFilename: String): File

    Permalink

    Copy and compress (if required) a remote file to a local one

    Copy and compress (if required) a remote file to a local one

    remoteFilename

    Source file name (on remote system)

    returns

    local file used

    Definition Classes
    TransfertOperations
  34. def rename(origin: String, dest: String): Unit

    Permalink

    Rename a remote file or directory

    Rename a remote file or directory

    origin

    Original remote file name

    dest

    Destination (new) remote file name

  35. def rm(path: String): Unit

    Permalink
  36. def rmdir(path: String): Unit

    Permalink

    Remove a directory from a remote system

    Remove a directory from a remote system

    path

    The path of the directory to remove

  37. def send(localFile: File, remoteFilename: String): Unit

    Permalink

    Copy a local file to a remote one

    Copy a local file to a remote one

    Definition Classes
    SSHFtpTransfertOperations
  38. def send(filename: String): Unit

    Permalink

    Copy a local file to a remote one using the same name

    Copy a local file to a remote one using the same name

    filename

    file name

    Definition Classes
    TransfertOperations
  39. def send(fromLocalFilename: String, remoteDestination: String): Unit

    Permalink

    Copy a local file to a remote one

    Copy a local file to a remote one

    fromLocalFilename

    Source file name (local system)

    remoteDestination

    Destination file name (on remote system)

    Definition Classes
    TransfertOperations
  40. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  41. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  42. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  43. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  44. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from SSHLazyLogging

Inherited from TransfertOperations

Inherited from CommonOperations

Inherited from AnyRef

Inherited from Any

Ungrouped