Piyush Kothari
Piyush Kothari

Reputation: 61

Apache Camel FTP vs FTP2

What is the difference between Camel ftp and ftp2? I want to write a new ftp endpoint but I am getting confused between these. Also if possible do state which one is better than other and why.

Upvotes: 0

Views: 337

Answers (1)

Claus Ibsen
Claus Ibsen

Reputation: 55540

They are the same today. The reason there documentation url says ftp2 is because many many years ago the old ftp component were refactored for Camel 2.0, and had some extra options and therefore we created a ftp2 url for its documentation.

The documentation today for the FTP component is best viewed (at this time of writing) on github at: https://github.com/apache/camel/blob/master/components/camel-ftp/src/main/docs/ftp-component.adoc

The Camel website and documentation is in process of a revamp to happen later this year, so you can then again view all docs from the Apache site.

Upvotes: 1

Related Questions