Interface CopyFileExtension

All Superinterfaces:
NamedResource, OptionalFeature, SftpClientExtension, SftpClientHolder
All Known Implementing Classes:
CopyFileExtensionImpl

public interface CopyFileExtension extends SftpClientExtension
Author:
Apache MINA SSHD Project
See Also:
  • Method Details

    • copyFile

      void copyFile(String src, String dst, boolean overwriteDestination) throws IOException
      Parameters:
      src - The (remote) file source path
      dst - The (remote) file destination path
      overwriteDestination - If true then OK to override destination if exists
      Throws:
      IOException - If failed to execute the command or extension not supported