Interface FtpClient

  • All Known Implementing Classes:
    FTPClientWrapper

    public interface FtpClient
    What VFS expects from an ftp client to provide.
    • Method Detail

      • disconnect

        void disconnect()
                 throws java.io.IOException
        Throws:
        java.io.IOException
      • listFiles

        org.apache.commons.net.ftp.FTPFile[] listFiles​(java.lang.String relPath)
                                                throws java.io.IOException
        Throws:
        java.io.IOException
      • removeDirectory

        boolean removeDirectory​(java.lang.String relPath)
                         throws java.io.IOException
        Throws:
        java.io.IOException
      • deleteFile

        boolean deleteFile​(java.lang.String relPath)
                    throws java.io.IOException
        Throws:
        java.io.IOException
      • rename

        boolean rename​(java.lang.String oldName,
                       java.lang.String newName)
                throws java.io.IOException
        Throws:
        java.io.IOException
      • makeDirectory

        boolean makeDirectory​(java.lang.String relPath)
                       throws java.io.IOException
        Throws:
        java.io.IOException
      • completePendingCommand

        boolean completePendingCommand()
                                throws java.io.IOException
        Throws:
        java.io.IOException
      • retrieveFileStream

        java.io.InputStream retrieveFileStream​(java.lang.String relPath)
                                        throws java.io.IOException
        Throws:
        java.io.IOException
      • retrieveFileStream

        java.io.InputStream retrieveFileStream​(java.lang.String relPath,
                                               long restartOffset)
                                        throws java.io.IOException
        Throws:
        java.io.IOException
      • appendFileStream

        java.io.OutputStream appendFileStream​(java.lang.String relPath)
                                       throws java.io.IOException
        Throws:
        java.io.IOException
      • storeFileStream

        java.io.OutputStream storeFileStream​(java.lang.String relPath)
                                      throws java.io.IOException
        Throws:
        java.io.IOException
      • abort

        boolean abort()
               throws java.io.IOException
        Throws:
        java.io.IOException
      • getReplyString

        java.lang.String getReplyString()
                                 throws java.io.IOException
        Throws:
        java.io.IOException