Hello

For a running scenario we switch to our native JSCH implementation to Camel-Ftp 
implementation to connect to SFTP server.

Server Folder: home/arpit/outbound/
File Name: myDailyReport.csv

Older implementation using native JSCH code - we used to first perform - 
channel.cd("home/arpit/outbound") and then channel.put("myDailyReport.csv").

New Implementation we are using stepwise = false. The reason why we used 
'stepwise = false' because all our available SFTP server failed on CD operation.

QUESTION: Is there some flag which does complete directory CD (rather stepwise) 
 and then do PUT?

Regards,
Arpit.

Reason: We see error [1] and [2] in the logs for ONE specific SFTP Server
----------------------------------------------------------------------------------------
[1] org.apache.camel.component.file.GenericFileOperationFailedException: Cannot 
store file:  home/arpit/outbound/myDailyReport.csv
[2] Caused by: 2: No such file      at 
com.jcraft.jsch.ChannelSftp.throwStatusError(ChannelSftp.java:2833)

Reply via email to