Class FtpClientBuilder

    • Constructor Detail

      • FtpClientBuilder

        public FtpClientBuilder()
    • Method Detail

      • port

        public FtpClientBuilder port​(int port)
        Sets the port property.
        Parameters:
        port -
        Returns:
      • autoReadFiles

        public FtpClientBuilder autoReadFiles​(boolean autoReadFiles)
        Sets the auto read files property.
        Parameters:
        autoReadFiles -
        Returns:
      • localPassiveMode

        public FtpClientBuilder localPassiveMode​(boolean localPassiveMode)
        Sets the local passive mode property.
        Parameters:
        localPassiveMode -
        Returns:
      • username

        public FtpClientBuilder username​(String username)
        Sets the client username.
        Parameters:
        username -
        Returns:
      • password

        public FtpClientBuilder password​(String password)
        Sets the client password.
        Parameters:
        password -
        Returns:
      • pollingInterval

        public FtpClientBuilder pollingInterval​(int pollingInterval)
        Sets the polling interval.
        Parameters:
        pollingInterval -
        Returns:
      • timeout

        public FtpClientBuilder timeout​(long timeout)
        Sets the default timeout.
        Parameters:
        timeout -
        Returns: