Dieser Inhalt ist in der von Ihnen ausgewählten Sprache nicht verfügbar.

13.8.10. NotifyFTPList


Expand
Class NotifyFTPList
Purpose
NotifyFTPList extends NotifyFTP and adds the ability to take a single file name or list of file names located in the ESB Message object.
The file(s) in the Message payload should contain a list of files (full paths). This list will be iterated over and every file in the list will be sent to the configured destination FTP server directory if the "listFiles" property is false. If "listFiles" is true, the file(s) are read line by line, with each line containing the name of a file to be transferred.
So, you can supply:
  1. A single file to be transferred. (single String payload with listFiles = false)
  2. A list of files to be transferred. (List<String> payload with listFiles = false)
  3. A single list file of files to be transferred. (single String payload with listFiles = true)
  4. A list of list files of files to be transferred. (List<String> payload with listFiles = true)
Attributes None.
Child FTP.
Child Attributes
  • URL – a valid FTP URL
  • filename – the name of the file to contain the ESB message content on the remote system
  • listFiles – true if the file(s) named in the message payload is/are list file(s), otherwise false. Default is false.
  • deleteListFile – true if the list file is to be deleted, otherwise false. Default is false.
<target class="NotifyFTPList">
    <ftp URL="ftp://username:password@localhost/outputdir"
        filename="{org.jboss.soa.esb.gateway.file}">
        listFiles="true"
        deletelistFile="true"
</target>
Copy to Clipboard Toggle word wrap

Nach oben
Red Hat logoGithubredditYoutubeTwitter

Lernen

Testen, kaufen und verkaufen

Communitys

Über Red Hat Dokumentation

Wir helfen Red Hat Benutzern, mit unseren Produkten und Diensten innovativ zu sein und ihre Ziele zu erreichen – mit Inhalten, denen sie vertrauen können. Entdecken Sie unsere neuesten Updates.

Mehr Inklusion in Open Source

Red Hat hat sich verpflichtet, problematische Sprache in unserem Code, unserer Dokumentation und unseren Web-Eigenschaften zu ersetzen. Weitere Einzelheiten finden Sie in Red Hat Blog.

Über Red Hat

Wir liefern gehärtete Lösungen, die es Unternehmen leichter machen, plattform- und umgebungsübergreifend zu arbeiten, vom zentralen Rechenzentrum bis zum Netzwerkrand.

Theme

© 2025 Red Hat