1.2k questions

1.4k answers

361 comments

339 users

Categories

Sidebar
0 votes
329 views
by satya-kiran-k-9137 (200 points)
Can we overwrite the files using qie.writeSFTPFile function with same file name  similar to the in built FTP configuration setup in destination node

1 Answer

0 votes

The qie.writeSFTPFile allows you to pass parameters to it.

example with the override/overwrite option: 

qie.writeSFTPFile('host', port, 'path', binary, passive, 'fileExist=Override', 'userName', 'password', data);

A list of these parameters are found at https://camel.apache.org/components/3.18.x/ftp-component.html

 

by brandon-w-8204 (34.1k points)
...