| java.lang.Object org.apache.tools.ant.taskdefs.optional.ssh.AbstractSshMessage org.apache.tools.ant.taskdefs.optional.ssh.ScpFromMessage org.apache.tools.ant.taskdefs.optional.ssh.ScpFromMessageBySftp
ScpFromMessageBySftp | public class ScpFromMessageBySftp extends ScpFromMessage (Code) | | A helper object representing an scp download.
|
Constructor Summary | |
public | ScpFromMessageBySftp(boolean verbose, Session session, String aRemoteFile, File aLocalFile, boolean recursive) Constructor for ScpFromMessageBySftp. | public | ScpFromMessageBySftp(Session session, String aRemoteFile, File aLocalFile, boolean recursive) Constructor for ScpFromMessageBySftp. |
Method Summary | |
public void | execute() Carry out the transfer. |
ScpFromMessageBySftp | public ScpFromMessageBySftp(boolean verbose, Session session, String aRemoteFile, File aLocalFile, boolean recursive)(Code) | | Constructor for ScpFromMessageBySftp.
Parameters: verbose - if true log extra information Parameters: session - the Scp session to use Parameters: aRemoteFile - the remote file name Parameters: aLocalFile - the local file Parameters: recursive - if true use recursion since: Ant 1.7 |
ScpFromMessageBySftp | public ScpFromMessageBySftp(Session session, String aRemoteFile, File aLocalFile, boolean recursive)(Code) | | Constructor for ScpFromMessageBySftp.
Parameters: session - the Scp session to use Parameters: aRemoteFile - the remote file name Parameters: aLocalFile - the local file Parameters: recursive - if true use recursion |
execute | public void execute() throws IOException, JSchException(Code) | | Carry out the transfer.
throws: IOException - on i/o errors throws: JSchException - on errors detected by scp |
Methods inherited from org.apache.tools.ant.taskdefs.optional.ssh.ScpFromMessage | public void execute() throws IOException, JSchException(Code)(Java Doc)
|
|
|