简体   繁体   中英

Mule SFTP : How to create directories on remote location

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

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM