Camel FTP, Move issue -
i'm having 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 component tries move file "move" directory (that directory not created) once complete fails on:
org.apache.camel.component.file.genericfileoperationfailedexception: cannot create directory: mydirectory/20170727 (could because of denied permissions)
but if connect sftp filezilla same user/passwd can create directory , camel move done files there.
any ideas?
Comments
Post a Comment