Hello,

I use sftp component to transfer file on a local directory :

sftp://${login}@${host}:${port}/${path}?localWorkDirectory=${DATA_PATH}/LOCAL/WRK&delay=${delay}&knownHostsFile=${transfer.knownHosts}&privateKeyFile=${transfer.privateKeyFile}&filter=#EP_IN_FILTER&delete=true

I have encountered a problem if my path is absolute :
path=/usr/users/camel/data/

Camel copy "my_file.xml" on my ${DATA_PATH}/LOCAL/WRK but add the complete
path like this :

${DATA_PATH}/LOCAL/WRK/usr/users/camel/data/my_file.xml but expect to find
the file here :${DATA_PATH}/LOCAL/WRK/my_file.xml

And finally if my path is path=/usr/users/camel/data (unless the / at the
end of path) my file is putted on 
${DATA_PATH}/LOCAL/WRK/my_file.xml





--
View this message in context: 
http://camel.465427.n5.nabble.com/Sftp-component-problem-tp5733034.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to