Lines Matching refs:FtpProtocolException
528 } catch (sun.net.ftp.FtpProtocolException e) {
541 * @throws FtpProtocolException if an error occured
543 private void issueCommandCheck(String cmd) throws sun.net.ftp.FtpProtocolException, IOException {
545 throw new sun.net.ftp.FtpProtocolException(cmd + ":" + getResponseString(), getLastReplyCode());
558 private Socket openPassiveDataConnection(String cmd) throws sun.net.ftp.FtpProtocolException, IOException {
590 throw new sun.net.ftp.FtpProtocolException("EPSV failed : " + serverAnswer);
627 throw new sun.net.ftp.FtpProtocolException("PASV failed : " + serverAnswer);
683 throw new sun.net.ftp.FtpProtocolException("Can't open secure data channel: " + e);
692 throw new sun.net.ftp.FtpProtocolException(cmd + ":" + getResponseString(), getLastReplyCode());
705 private Socket openDataConnection(String cmd) throws sun.net.ftp.FtpProtocolException, IOException {
711 } catch (sun.net.ftp.FtpProtocolException e) {
728 throw new sun.net.ftp.FtpProtocolException("Passive mode failed");
998 public sun.net.ftp.FtpClient connect(SocketAddress dest) throws sun.net.ftp.FtpProtocolException, IOException {
1008 public sun.net.ftp.FtpClient connect(SocketAddress dest, int timeout) throws sun.net.ftp.FtpProtocolException, IOException {
1015 throw new sun.net.ftp.FtpProtocolException("Welcome message: " +
1022 private void tryLogin(String user, char[] password) throws sun.net.ftp.FtpProtocolException, IOException {
1043 public sun.net.ftp.FtpClient login(String user, char[] password) throws sun.net.ftp.FtpProtocolException, IOException {
1045 throw new sun.net.ftp.FtpProtocolException("Not connected yet", FtpReplyCode.BAD_SEQUENCE);
1081 public sun.net.ftp.FtpClient login(String user, char[] password, String account) throws sun.net.ftp.FtpProtocolException, IOException {
1084 throw new sun.net.ftp.FtpProtocolException("Not connected yet", FtpReplyCode.BAD_SEQUENCE);
1144 * @exception <code>FtpProtocolException</code>
1146 public sun.net.ftp.FtpClient changeDirectory(String remoteDirectory) throws sun.net.ftp.FtpProtocolException, IOException {
1161 public sun.net.ftp.FtpClient changeToParentDirectory() throws sun.net.ftp.FtpProtocolException, IOException {
1174 public String getWorkingDirectory() throws sun.net.ftp.FtpProtocolException, IOException {
1221 public sun.net.ftp.FtpClient getFile(String name, OutputStream local) throws sun.net.ftp.FtpProtocolException, IOException {
1268 public InputStream getFileStream(String name) throws sun.net.ftp.FtpProtocolException, IOException {
1318 throws sun.net.ftp.FtpProtocolException, IOException
1347 public sun.net.ftp.FtpClient putFile(String name, InputStream local, boolean unique) throws sun.net.ftp.FtpProtocolException, IOException {
1377 public sun.net.ftp.FtpClient appendFile(String name, InputStream local) throws sun.net.ftp.FtpProtocolException, IOException {
1399 public sun.net.ftp.FtpClient rename(String from, String to) throws sun.net.ftp.FtpProtocolException, IOException {
1413 public sun.net.ftp.FtpClient deleteFile(String name) throws sun.net.ftp.FtpProtocolException, IOException {
1426 public sun.net.ftp.FtpClient makeDirectory(String name) throws sun.net.ftp.FtpProtocolException, IOException {
1440 public sun.net.ftp.FtpClient removeDirectory(String name) throws sun.net.ftp.FtpProtocolException, IOException {
1449 * @throws FtpProtocolException if the command fails
1451 public sun.net.ftp.FtpClient noop() throws sun.net.ftp.FtpProtocolException, IOException {
1471 public String getStatus(String name) throws sun.net.ftp.FtpProtocolException, IOException {
1520 public List<String> getFeatures() throws sun.net.ftp.FtpProtocolException, IOException {
1554 public sun.net.ftp.FtpClient abort() throws sun.net.ftp.FtpProtocolException, IOException {
1610 public sun.net.ftp.FtpClient completePending() throws sun.net.ftp.FtpProtocolException, IOException {
1614 throw new sun.net.ftp.FtpProtocolException(getLastResponseString(), lastReplyCode);
1623 * @throws FtpProtocolException if the command fails
1625 public sun.net.ftp.FtpClient reInit() throws sun.net.ftp.FtpProtocolException, IOException {
1656 public sun.net.ftp.FtpClient setType(TransferType type) throws sun.net.ftp.FtpProtocolException, IOException {
1686 public InputStream list(String path) throws sun.net.ftp.FtpProtocolException, IOException {
1710 public InputStream nameList(String path) throws sun.net.ftp.FtpProtocolException, IOException {
1732 public long getSize(String path) throws sun.net.ftp.FtpProtocolException, IOException {
1769 public Date getLastModified(String path) throws sun.net.ftp.FtpProtocolException, IOException {
1879 public Iterator<FtpDirEntry> listFiles(String path) throws sun.net.ftp.FtpProtocolException, IOException {
1884 } catch (sun.net.ftp.FtpProtocolException FtpException) {
1933 public sun.net.ftp.FtpClient useKerberos() throws sun.net.ftp.FtpProtocolException, IOException {
1940 throw new sun.net.ftp.FtpProtocolException("Unexpected reply from server");
2045 public sun.net.ftp.FtpClient startSecureSession() throws sun.net.ftp.FtpProtocolException, IOException {
2047 throw new sun.net.ftp.FtpProtocolException("Not connected yet", FtpReplyCode.BAD_SEQUENCE);
2093 public sun.net.ftp.FtpClient endSecureSession() throws sun.net.ftp.FtpProtocolException, IOException {
2123 public sun.net.ftp.FtpClient allocate(long size) throws sun.net.ftp.FtpProtocolException, IOException {
2138 public sun.net.ftp.FtpClient structureMount(String struct) throws sun.net.ftp.FtpProtocolException, IOException {
2152 public String getSystem() throws sun.net.ftp.FtpProtocolException, IOException {
2172 public String getHelp(String cmd) throws sun.net.ftp.FtpProtocolException, IOException {
2215 public sun.net.ftp.FtpClient siteCmd(String cmd) throws sun.net.ftp.FtpProtocolException, IOException {