Interface CopyFileExtension
- All Superinterfaces:
NamedResource,OptionalFeature,SftpClientExtension,SftpClientHolder
- All Known Implementing Classes:
CopyFileExtensionImpl
- See Also:
-
Field Summary
Fields inherited from interface org.apache.sshd.common.NamedResource
BY_NAME_COMPARATOR, NAME_EXTRACTORFields inherited from interface org.apache.sshd.common.OptionalFeature
FALSE, TRUE -
Method Summary
Methods inherited from interface org.apache.sshd.common.NamedResource
getNameMethods inherited from interface org.apache.sshd.common.OptionalFeature
isSupportedMethods 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- Iftruethen OK to override destination if exists- Throws:
IOException- If failed to execute the command or extension not supported
-