public interface DataConnection
| Modifier and Type | Method and Description |
|---|---|
long |
transferFromClient(FtpSession session,
OutputStream out)
Transfer data from the client (e.g.
|
long |
transferToClient(FtpSession session,
InputStream in)
Transfer data to the client (e.g.
|
void |
transferToClient(FtpSession session,
String str)
Transfer a string to the client, e.g.
|
long transferFromClient(FtpSession session, OutputStream out) throws IOException
session - The current FtpSessionout - The OutputStream containing the destination of the
data from the client.IOExceptionlong transferToClient(FtpSession session, InputStream in) throws IOException
session - The current FtpSessionin - Data to be transfered to the clientIOExceptionvoid transferToClient(FtpSession session, String str) throws IOException
session - The current FtpSessionstr - The string to transferIOExceptionCopyright © 2003–2017 The Apache Software Foundation. All rights reserved.