Lines Matching refs:FtpProtocolException

67  * server. In these cases, a {@link FtpProtocolException} is thrown.</p>
121 public static FtpClient create(InetSocketAddress dest) throws FtpProtocolException, IOException {
137 * @throws FtpProtocolException if the server rejected the connection
139 public static FtpClient create(String dest) throws FtpProtocolException, IOException {
239 * @throws FtpProtocolException
241 public abstract FtpClient connect(SocketAddress dest) throws FtpProtocolException, IOException;
252 * @throws FtpProtocolException
254 public abstract FtpClient connect(SocketAddress dest, int timeout) throws FtpProtocolException, IOException;
271 * @throws FtpProtocolException if the login was refused by the server
273 public abstract FtpClient login(String user, char[] password) throws FtpProtocolException, IOException;
284 * @throws FtpProtocolException if the login was refused by the server
286 public abstract FtpClient login(String user, char[] password, String account) throws FtpProtocolException, IOException;
313 * @throws FtpProtocolException if the command was refused by the server
315 public abstract FtpClient changeDirectory(String remoteDirectory) throws FtpProtocolException, IOException;
322 * @throws FtpProtocolException if the command was refused by the server
324 public abstract FtpClient changeToParentDirectory() throws FtpProtocolException, IOException;
331 * @throws FtpProtocolException if the command was refused by the server,
333 public abstract String getWorkingDirectory() throws FtpProtocolException, IOException;
365 * @throws FtpProtocolException if the command was refused by the server
368 public abstract FtpClient getFile(String name, OutputStream local) throws FtpProtocolException, IOException;
382 * @throws FtpProtocolException if the command was refused by the server
385 public abstract InputStream getFileStream(String name) throws FtpProtocolException, IOException;
402 * @throws FtpProtocolException if the command was rejected by the server
404 public OutputStream putFileStream(String name) throws FtpProtocolException, IOException {
431 * @throws FtpProtocolException if the command was rejected by the server
433 public abstract OutputStream putFileStream(String name, boolean unique) throws FtpProtocolException, IOException;
460 * @throws FtpProtocolException if the command was rejected by the server
462 public FtpClient putFile(String name, InputStream local) throws FtpProtocolException, IOException {
485 * @throws FtpProtocolException if the command was rejected by the server
488 public abstract FtpClient putFile(String name, InputStream local, boolean unique) throws FtpProtocolException, IOException;
504 * @throws FtpProtocolException if the command was rejected by the server
506 public abstract FtpClient appendFile(String name, InputStream local) throws FtpProtocolException, IOException;
515 * @throws FtpProtocolException if the command was rejected by the server
517 public abstract FtpClient rename(String from, String to) throws FtpProtocolException, IOException;
526 * @throws FtpProtocolException if the command was rejected by the server
528 public abstract FtpClient deleteFile(String name) throws FtpProtocolException, IOException;
537 * @throws FtpProtocolException if the command was rejected by the server
539 public abstract FtpClient makeDirectory(String name) throws FtpProtocolException, IOException;
549 * @throws FtpProtocolException if the command was rejected by the server
551 public abstract FtpClient removeDirectory(String name) throws FtpProtocolException, IOException;
559 * @throws FtpProtocolException if the command was rejected by the server
561 public abstract FtpClient noop() throws FtpProtocolException, IOException;
576 * @throws FtpProtocolException if the command was rejected by the server
578 public abstract String getStatus(String name) throws FtpProtocolException, IOException;
588 * a {@link FtpProtocolException} will be thrown.
593 * @throws FtpProtocolException if the command is rejected by the server
595 public abstract List<String> getFeatures() throws FtpProtocolException, IOException;
606 * @throws FtpProtocolException if the command was rejected by the server
608 public abstract FtpClient abort() throws FtpProtocolException, IOException;
641 * @throws FtpProtocolException if the command didn't complete successfully
643 public abstract FtpClient completePending() throws FtpProtocolException, IOException;
650 * @throws FtpProtocolException if the command fails
652 public abstract FtpClient reInit() throws FtpProtocolException, IOException;
661 * @throws FtpProtocolException if the command was rejected by the server
663 public abstract FtpClient setType(TransferType type) throws FtpProtocolException, IOException;
672 * @throws FtpProtocolException if the command was rejected by the server
675 public FtpClient setBinaryType() throws FtpProtocolException, IOException {
687 * @throws FtpProtocolException if the command was rejected by the server
690 public FtpClient setAsciiType() throws FtpProtocolException, IOException {
706 * @throws FtpProtocolException if the command was rejected by the server
710 public abstract InputStream list(String path) throws FtpProtocolException, IOException;
725 * @throws FtpProtocolException if the command was rejected by the server
727 public abstract InputStream nameList(String path) throws FtpProtocolException, IOException;
741 * @throws FtpProtocolException if the command was rejected by the server
743 public abstract long getSize(String path) throws FtpProtocolException, IOException;
756 * @throws FtpProtocolException if the command was rejected by the server
758 public abstract Date getLastModified(String path) throws FtpProtocolException, IOException;
792 * @throws FtpProtocolException if the command was rejected by the server
794 public abstract Iterator<FtpDirEntry> listFiles(String path) throws FtpProtocolException, IOException;
805 * @throws FtpProtocolException if the command was rejected by the server
807 public abstract FtpClient useKerberos() throws FtpProtocolException, IOException;
866 * @throws FtpProtocolException if the command was rejected by the server
869 public abstract FtpClient startSecureSession() throws FtpProtocolException, IOException;
878 * @throws FtpProtocolException if the command was rejected by the server
881 public abstract FtpClient endSecureSession() throws FtpProtocolException, IOException;
890 * @throws FtpProtocolException if the command was rejected by the server
892 public abstract FtpClient allocate(long size) throws FtpProtocolException, IOException;
903 * @throws FtpProtocolException if the command was rejected by the server
905 public abstract FtpClient structureMount(String struct) throws FtpProtocolException, IOException;
915 * @throws FtpProtocolException if the command was rejected by the server
917 public abstract String getSystem() throws FtpProtocolException, IOException;
928 * @throws FtpProtocolException if the command was rejected by the server
930 public abstract String getHelp(String cmd) throws FtpProtocolException, IOException;
940 * @throws FtpProtocolException if the command was rejected by the server
942 public abstract FtpClient siteCmd(String cmd) throws FtpProtocolException, IOException;