You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by abhaiji <an...@gmail.com> on 2013/03/08 18:35:46 UTC
Re: sftp and path
Hi,I am facing same issue with the sftp component. I tried both stepwise true
and false - but it is giving same error. Strangely, I do not get any error
if I do not specify the directory and just read write from logged in user's
home directory. But if I give a nested or single directory it fails with
same error: with stepwise=falseWriting file failed with: Cannot change
directory to: \home\abhaijiwith stepwise=trueWriting file failed with:
Cannot change directory to: \Here is the endpoint I am using:
sftp://user@myftp.site.com:22/test?passiveMode=true&password=******&separator=UNIX&stepwise=falseI
am using camel 2.10 or higher
--
View this message in context: http://camel.465427.n5.nabble.com/sftp-and-path-tp5002111p5728848.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Re: sftp and path
Posted by sreejeb2 <sr...@lumoenergy.com.au>.
Hi Abhaiji, I'm facing the same issue as you explained. Did you get a
solution for your problem. Changing stepwise to true/false is not working
for me too. Here is my endpoint
<to
uri="sftp://sftpUserName@sftpServer/sftpUploadFolder?password=sftpPassword&disconnect=true&binary=true&throwExceptionOnConnectFailed=true&consumer.bridgeErrorHandler=true"/>
If I remove sftpUploadFolder, the upload works fine.
--
View this message in context: http://camel.465427.n5.nabble.com/sftp-and-path-tp5002111p5761966.html
Sent from the Camel - Users mailing list archive at Nabble.com.