You should probably use the file component to read the file then send the
output to sftp somewhat like:

from("file://D:/opt/share/Outbound_TDCC/DTS4/UP/C5T62?fileName=S60300")
.setHeader("CamelFileName","DTS4.UP.C5T62.S60300")
.to("sfp://..."); 

(Using java routebuilder style.)




--
View this message in context: 
http://camel.465427.n5.nabble.com/Problem-with-sFTP-PUT-tp5752794p5752795.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to