Package com.tailf.ned
Interface SSHClient.SecureFileTransfer
- Enclosing interface:
- SSHClient
public static interface SSHClient.SecureFileTransfer
SSHCLient file transfer interface
- Author:
- jrendel
-
Method Summary
-
Method Details
-
get
Get a file from a remote peer.- Parameters:
file
- - File name including path- Returns:
- A string with the file content
- Throws:
IOException
-
put
Put a file on a remote peer.- Parameters:
buffer
- - The content to put in the remote filefile
- - The remote file name including path.mode
- - File permissions- Throws:
IOException
-
put
Put a file with default permissions on a remote peer.- Parameters:
buffer
- - The content to put in the remote filefile
- - The remote file name including path.- Throws:
IOException
-