Questo contenuto non è disponibile nella lingua selezionata.

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

Torna in cima
Red Hat logoGithubredditYoutubeTwitter

Formazione

Prova, acquista e vendi

Community

Informazioni sulla documentazione di Red Hat

Aiutiamo gli utenti Red Hat a innovarsi e raggiungere i propri obiettivi con i nostri prodotti e servizi grazie a contenuti di cui possono fidarsi. Esplora i nostri ultimi aggiornamenti.

Rendiamo l’open source più inclusivo

Red Hat si impegna a sostituire il linguaggio problematico nel codice, nella documentazione e nelle proprietà web. Per maggiori dettagli, visita il Blog di Red Hat.

Informazioni su Red Hat

Forniamo soluzioni consolidate che rendono più semplice per le aziende lavorare su piattaforme e ambienti diversi, dal datacenter centrale all'edge della rete.

Theme

© 2025 Red Hat