Top Methods
org.apache.sshd.sftp.client.extensions

public Interface CopyFileExtension

extends SftpClientExtension
Known Direct Implementers
org.apache.sshd.sftp.client.extensions.helpers.CopyFileExtensionImpl
Imports
java.io.IOException

Author
Apache MINA SSHD Project
See Also
copy-file extension

Method Summary

Modifier and TypeMethod and Description
public void
copyFile(String
The (remote) file source path
src
,
String
The (remote) file destination path
dst
,
boolean
If true then OK to override destination if exists
overwriteDestination
)

Method Detail

copyFileback to summary
public void copyFile(String src, String dst, boolean overwriteDestination) throws IOException
Parameters
src:String

The (remote) file source path

dst:String

The (remote) file destination path

overwriteDestination:boolean

If true then OK to override destination if exists

Exceptions
IOException:
If failed to execute the command or extension not supported