code: def _build_ftp_processor(cls, session: AppSession):
          '''Build FTPProcessor.'''
          ftp_client = session.factory['FTPClient']
  
          fetch_params = session.factory.new(
              'FTPProcessorFetchParams',
              remove_listing=session.args.remove_listing,
              retr_symlinks=session.args.retr_symlinks,
              preserve_permissions=session.args.preserve_permissions,
              glob=session.args.glob,
          )
  
          return session.factory.new(
              'FTPProcessor',
              ftp_client,
              fetch_params,
          f _build_ftp_processor(cls, session: AppSession):
          '''Build FTPProcessor.'''
          ftp_client = session.factory['FTPClient']
  
          fetch_params = session.factory.new(
              'FTPProcessorFetchParams',
              remove_listing=session.args.remove_listing,
              retr_symlinks=session.args.retr_symlinks,
              preserve_permissions=session.args.preserve_permissions,
              glob=session.args.glob,
          )
  
          return session.factory.new(
              'FTPProcessor',
              ftp_client,
              fetch_params,
          )
docs: Build FTPProcessor.