Interface CopyFileExtension
- All Superinterfaces:
NamedResource
,OptionalFeature
,SftpClientExtension
,SftpClientHolder
- All Known Implementing Classes:
CopyFileExtensionImpl
- Author:
- Apache MINA SSHD Project
- See Also:
-
Field Summary
Fields inherited from interface org.apache.sshd.common.NamedResource
BY_NAME_COMPARATOR, NAME_EXTRACTOR
Fields inherited from interface org.apache.sshd.common.OptionalFeature
FALSE, TRUE
-
Method Summary
Methods inherited from interface org.apache.sshd.common.NamedResource
getName
Methods inherited from interface org.apache.sshd.common.OptionalFeature
isSupported
Methods inherited from interface org.apache.sshd.sftp.client.SftpClientHolder
getClient
-
Method Details
-
copyFile
- Parameters:
src
- The (remote) file source pathdst
- The (remote) file destination pathoverwriteDestination
- Iftrue
then OK to override destination if exists- Throws:
IOException
- If failed to execute the command or extension not supported
-