Groovy Documentation

org.hidetake.gradle.ssh.extension
[Groovy] Class SftpPut

java.lang.Object
  org.hidetake.gradle.ssh.extension.SftpPut

@Category(SessionHandler)
@Slf4j
class SftpPut

An extension class to put a file or directory via SFTP.

Authors:
hidetake.org


Method Summary
void put(java.io.File local, java.lang.String remote)

Put a file or directory to the remote host.

void put(java.lang.String local, java.lang.String remote)

Put a file or directory to the remote host.

void put(java.lang.Iterable local, java.lang.String remote)

Put a collection of a file or directory to the remote host.

 
Methods inherited from class java.lang.Object
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()
 

Method Detail

put

void put(java.io.File local, java.lang.String remote)
Put a file or directory to the remote host.
Parameters:
local
remote


put

void put(java.lang.String local, java.lang.String remote)
Put a file or directory to the remote host.
Parameters:
local
remote


put

void put(java.lang.Iterable local, java.lang.String remote)
Put a collection of a file or directory to the remote host.
Parameters:
local
remote


 

Groovy Documentation