Class SCPFileTransfer

    • Method Detail

      • download

        public void download​(java.lang.String remotePath,
                             LocalDestFile localFile)
                      throws java.io.IOException
        Description copied from interface: FileTransfer
        Download remotePath to localFile.
        Specified by:
        download in interface FileTransfer
        Throws:
        java.io.IOException
      • download

        public void download​(java.lang.String remotePath,
                             LocalDestFile localFile,
                             long byteOffset)
                      throws java.io.IOException
        Description copied from interface: FileTransfer
        Download remotePath to localFile. Appends to existing if byteOffset > 0.
        Specified by:
        download in interface FileTransfer
        Throws:
        java.io.IOException
      • upload

        public void upload​(LocalSourceFile localFile,
                           java.lang.String remotePath)
                    throws java.io.IOException
        Description copied from interface: FileTransfer
        Upload localFile to remotePath.
        Specified by:
        upload in interface FileTransfer
        Throws:
        java.io.IOException
      • upload

        public void upload​(LocalSourceFile localFile,
                           java.lang.String remotePath,
                           long byteOffset)
                    throws java.io.IOException
        Description copied from interface: FileTransfer
        Upload localFile to remotePath. Appends to existing if byteOffset > 0.
        Specified by:
        upload in interface FileTransfer
        Throws:
        java.io.IOException