public interface CopyFileExtension extends SftpClientExtension
BY_NAME_COMPARATOR, NAME_EXTRACTOR
FALSE, TRUE
Modifier and Type | Method and Description |
---|---|
void |
copyFile(String src,
String dst,
boolean overwriteDestination) |
findByName, findFirstMatchByName, getName, getNameList, getNames, ofName, removeByName, safeCompareByName
all, any, isSupported, of
getClient
void copyFile(String src, String dst, boolean overwriteDestination) throws IOException
src
- The (remote) file source pathdst
- The (remote) file destination pathoverwriteDestination
- If true
then OK to override destination if existsIOException
- If failed to execute the command or extension not supportedCopyright © 2008–2024 The Apache Software Foundation. All rights reserved.