Class DefaultScpClient

    • Method Detail

      • download

        public void download​(java.lang.String remote,
                             java.io.OutputStream local)
                      throws java.io.IOException
        Throws:
        java.io.IOException
      • download

        protected void download​(java.lang.String remote,
                                java.nio.file.FileSystem fs,
                                java.nio.file.Path local,
                                java.util.Collection<ScpClient.Option> options)
                         throws java.io.IOException
        Specified by:
        download in class AbstractScpClient
        Throws:
        java.io.IOException
      • upload

        public void upload​(java.io.InputStream local,
                           java.lang.String remote,
                           long size,
                           java.util.Collection<java.nio.file.attribute.PosixFilePermission> perms,
                           ScpTimestampCommandDetails time)
                    throws java.io.IOException
        Throws:
        java.io.IOException