public interface CopyFileExtension extends SftpClientExtension
BY_NAME_COMPARATOR, NAME_EXTRACTORFALSE, TRUE| Modifier and Type | Method and Description |
|---|---|
void |
copyFile(java.lang.String src,
java.lang.String dst,
boolean overwriteDestination) |
getClientfindByName, getName, getNameList, getNames, ofName, removeByNameall, any, isSupported, ofvoid 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