public class CopyFileExtensionImpl extends AbstractSftpClientExtension implements CopyFileExtension
logBY_NAME_COMPARATOR, NAME_EXTRACTORFALSE, TRUE| Constructor and Description |
|---|
CopyFileExtensionImpl(SftpClient client,
RawSftpClient raw,
java.util.Collection<java.lang.String> extra) |
| Modifier and Type | Method and Description |
|---|---|
void |
copyFile(java.lang.String src,
java.lang.String dst,
boolean overwriteDestination) |
checkExtendedReplyBuffer, checkStatus, getClient, getCommandBuffer, getCommandBuffer, getCommandBuffer, getName, isSupported, putTarget, receive, receive, receive, send, sendAndCheckExtendedCommandStatus, sendExtendedCommand, throwStatusException, validateIncomingResponsedebug, debug, debug, debug, debug, error, error, error, error, error, getSimplifiedLogger, info, info, warn, warn, warn, warn, warn, warn, warn, warnclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfindByName, findFirstMatchByName, getName, getNameList, getNames, ofName, removeByName, safeCompareByNameall, any, isSupported, ofgetClientpublic CopyFileExtensionImpl(SftpClient client, RawSftpClient raw, java.util.Collection<java.lang.String> extra)
public void copyFile(java.lang.String src,
java.lang.String dst,
boolean overwriteDestination)
throws java.io.IOException
copyFile in interface CopyFileExtensionsrc - The (remote) file source pathdst - The (remote) file destination pathoverwriteDestination - If true then OK to override destination if existsjava.io.IOException - If failed to execute the command or extension not supported