public class FTPPut extends Object implements FTPCommand, Stoppable
Constructor and Description |
---|
FTPPut() |
Modifier and Type | Method and Description |
---|---|
boolean |
executeWith(org.apache.commons.net.ftp.FTPClient client)
Execute the command.
|
File |
getFile() |
InputStream |
getInput() |
String |
getRemote() |
void |
setFile(File file) |
void |
setInput(InputStream input) |
void |
setRemote(String as) |
void |
stop()
Stop executing.
|
String |
toString() |
public boolean executeWith(org.apache.commons.net.ftp.FTPClient client) throws IOException
FTPCommand
executeWith
in interface FTPCommand
client
- The client session.IOException
public void stop() throws FailedToStopException
Stoppable
stop
in interface Stoppable
FailedToStopException
public String getRemote()
public void setRemote(String as)
public InputStream getInput()
public void setInput(InputStream input)
public File getFile()
public void setFile(File file)