Class FTPImportService

java.lang.Object
org.imixs.workflow.importer.ftp.FTPImportService

public class FTPImportService extends Object
The FTPImportService reacts on DocumentImportEvent and processes an FTP/FTPS/SFTP data source.

Supported types: - type=FTP - type=FTPS - type=SFTP

FTP/FTPS uses Apache Commons Net. SFTP uses SSHJ.

Author:
Imixs Software Solutions GmbH Ralph Soika
  • Constructor Details

    • FTPImportService

      public FTPImportService()
  • Method Details

    • onEvent

      public void onEvent(@Observes DocumentImportEvent event)
      Reacts on a DocumentImportEvent and imports files from an FTP/FTPS/SFTP server.
    • createWorkitem

      public org.imixs.workflow.ItemCollection createWorkitem(org.imixs.workflow.ItemCollection source, String fileName, byte[] rawData) throws org.imixs.workflow.exceptions.AccessDeniedException, org.imixs.workflow.exceptions.ProcessingErrorException, org.imixs.workflow.exceptions.PluginException, org.imixs.workflow.exceptions.ModelException
      Throws:
      org.imixs.workflow.exceptions.AccessDeniedException
      org.imixs.workflow.exceptions.ProcessingErrorException
      org.imixs.workflow.exceptions.PluginException
      org.imixs.workflow.exceptions.ModelException