Lines Matching defs:FtpClient

43  * {@code FtpClient} provides all the functionalities of a typical FTP
49 * FtpClient cl = FtpClient.create();
75 public abstract class FtpClient implements java.io.Closeable {
94 * Creates an instance of FtpClient. The client is not connected to any
98 protected FtpClient() {
102 * Creates an instance of {@code FtpClient}. The client is not connected to any
105 * @return the created {@code FtpClient}
107 public static FtpClient create() {
113 * Creates an instance of FtpClient and connects it to the specified
117 * @return The created {@code FtpClient}
121 public static FtpClient create(InetSocketAddress dest) throws FtpProtocolException, IOException {
122 FtpClient client = create();
130 * Creates an instance of {@code FtpClient} and connects it to the
135 * @return The created {@code FtpClient}
139 public static FtpClient create(String dest) throws FtpProtocolException, IOException {
157 * @return This FtpClient
160 public abstract FtpClient enablePassiveMode(boolean passive);
176 * @return This FtpClient
178 public abstract FtpClient setConnectTimeout(int timeout);
193 * @return This FtpClient
195 public abstract FtpClient setReadTimeout(int timeout);
211 * @return This FtpClient
213 public abstract FtpClient setProxy(Proxy p);
216 * Get the proxy of this FtpClient
232 * Connects the {@code FtpClient} to the specified destination server.
235 * @return this FtpClient
241 public abstract FtpClient connect(SocketAddress dest) throws FtpProtocolException, IOException;
244 * Connects the FtpClient to the specified destination server.
248 * @return this FtpClient
254 public abstract FtpClient connect(SocketAddress dest, int timeout) throws FtpProtocolException, IOException;
269 * @return this FtpClient
273 public abstract FtpClient login(String user, char[] password) throws FtpProtocolException, IOException;
282 * @return this FtpClient
286 public abstract FtpClient login(String user, char[] password, String account) throws FtpProtocolException, IOException;
311 * @return this FtpClient
315 public abstract FtpClient changeDirectory(String remoteDirectory) throws FtpProtocolException, IOException;
320 * @return this FtpClient
324 public abstract FtpClient changeToParentDirectory() throws FtpProtocolException, IOException;
344 * @return this FtpClient
347 public abstract FtpClient setRestartOffset(long offset);
363 * @return this FtpClient
368 public abstract FtpClient getFile(String name, OutputStream local) throws FtpProtocolException, IOException;
458 * @return this FtpClient
462 public FtpClient putFile(String name, InputStream local) throws FtpProtocolException, IOException {
483 * @return this FtpClient
488 public abstract FtpClient putFile(String name, InputStream local, boolean unique) throws FtpProtocolException, IOException;
502 * @return this FtpClient
506 public abstract FtpClient appendFile(String name, InputStream local) throws FtpProtocolException, IOException;
513 * @return this FtpClient
517 public abstract FtpClient rename(String from, String to) throws FtpProtocolException, IOException;
524 * @return this FtpClient
528 public abstract FtpClient deleteFile(String name) throws FtpProtocolException, IOException;
535 * @return this FtpClient
539 public abstract FtpClient makeDirectory(String name) throws FtpProtocolException, IOException;
547 * @return this FtpClient
551 public abstract FtpClient removeDirectory(String name) throws FtpProtocolException, IOException;
557 * @return this FtpClient
561 public abstract FtpClient noop() throws FtpProtocolException, IOException;
604 * @return this FtpClient
608 public abstract FtpClient abort() throws FtpProtocolException, IOException;
639 * @return this FtpClient
643 public abstract FtpClient completePending() throws FtpProtocolException, IOException;
648 * @return this FtpClient
652 public abstract FtpClient reInit() throws FtpProtocolException, IOException;
659 * @return This FtpClient
663 public abstract FtpClient setType(TransferType type) throws FtpProtocolException, IOException;
670 * @return This FtpClient
675 public FtpClient setBinaryType() throws FtpProtocolException, IOException {
685 * @return This FtpClient
690 public FtpClient setAsciiType() throws FtpProtocolException, IOException {
768 * @return this FtpClient
771 public abstract FtpClient setDirParser(FtpDirParser p);
803 * @return this FtpClient
807 public abstract FtpClient useKerberos() throws FtpProtocolException, IOException;
869 public abstract FtpClient startSecureSession() throws FtpProtocolException, IOException;
876 * @return this FtpClient
881 public abstract FtpClient endSecureSession() throws FtpProtocolException, IOException;
888 * @return this FtpClient
892 public abstract FtpClient allocate(long size) throws FtpProtocolException, IOException;
901 * @return this FtpClient
905 public abstract FtpClient structureMount(String struct) throws FtpProtocolException, IOException;
938 * @return this FtpClient
942 public abstract FtpClient siteCmd(String cmd) throws FtpProtocolException, IOException;