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 FtpSession
out
- The OutputStream
containing the destination of the
data from the client.IOException
long transferToClient(FtpSession session, InputStream in) throws IOException
session
- The current FtpSession
in
- Data to be transfered to the clientIOException
void transferToClient(FtpSession session, String str) throws IOException
session
- The current FtpSession
str
- The string to transferIOException
Copyright © 2003–2016 The Apache Software Foundation. All rights reserved.