I'm having an SFTP consumer route like:
<from uri="sftp://IP:PORT/MyDirectory?username=MyUser&password=MyPasswd&move=${date:now:yyyyMMdd}/${file:onlyname}"/>
The user has Read/Write permission.
When the component tries to move the file to the "MOVE" directory (that directory its not created) once its complete it fails on:
org.apache.camel.component.file.GenericFileOperationFailedException: Cannot create directory: MyDirectory/20170727 (could be because of denied permissions)
But if I connect to that SFTP with Filezilla with the same User/Passwd I can create that directory and camel move done files there.
Any ideas?