I see that "The FTP Inbound Channel Adapter is a special listener that will connect to the FTP server and will
listen for the remote directory events (e.g., new file created) at which point it will initiate a file transfer." in the Spring Integration Reference.
I writed the xml like this.
but the remote-directory content has many folder,like newspaper,magazine and so on. how can i listen the files in newspaper,magazine. thank you very much.Code:<int-ftp:inbound-channel-adapter id="ftpInbound" channel="ftpChannel" session-factory="ftpsessionFactory" auto-create-local-directory="true" remote-file-separator="/" filename-pattern="*.txt" delete-remote-files="true" remote-directory="/content" local-directory="file:D:/ftpfile/test001"> <int:poller id="poller" fixed-rate="1000" max-messages-per-poll="15"> </int:poller> </int-ftp:inbound-channel-adapter>


Reply With Quote