Lone Developer
Lone Developer

Reputation: 616

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

Upvotes: 3

Views: 1522

Answers (2)

Lone Developer
Lone Developer

Reputation: 616

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

Upvotes: 1

Related Questions