public interface CopyFileExtension extends SftpClientExtension
BY_NAME_COMPARATOR, NAME_EXTRACTOR
FALSE, TRUE
Modifier and Type | Method and Description |
---|---|
void |
copyFile(java.lang.String src,
java.lang.String dst,
boolean overwriteDestination) |
getClient
findByName, getName, getNameList, getNames, ofName, removeByName
all, any, isSupported, of
void copyFile(java.lang.String src, java.lang.String dst, boolean overwriteDestination) throws java.io.IOException
src
- 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