3
votes

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

2

2 Answers

1
votes

I have implemented this by overridingFtpMessageDispatcher in MULE . Here is the blog post about it