I am downloading PDF file from server using camel SFTP component. Sometime it is downloading zero size file. but actual size is 4kb. I think camel is downloading the file while it is being written. kindly let me know how to download the file after file written operation is done. Give some example.
Asked
Active
Viewed 487 times
2
-
Please post your endpoint string (`ftp:...`) with all the options you are using. – vikingsteve Feb 04 '15 at 08:49
-
sftp://username@hostname/path&binary=true&password=xxxx&download=true – Gnana Feb 04 '15 at 08:54
-
after adding readLock=changed option in form URI, it is working fine – Gnana Feb 04 '15 at 11:34