i am trying to send a file over SFTP using mule . We have to specify a fixed path for that , like /home/ftp/ and then file name in outputpattern . but i want to create directories on the fly on remote location . everytime a file is sent , it should be sent in a new directory .
like abc.txt : /home/ftp/abc/abc.txt
pqr.txt : /home/ftp/pqqw/pqr.txt
I have implemented this by overriding FtpMessageDispatcher
in MULE . Here is the blog post about it
I would say that you need a custom java component for this folder creation.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.