...
As this component is an extension to the File component the options from this parent component is also available.
Message Headers
The following message headers does the FTP component provide
Header | Description |
---|---|
file.remote.host | The hostname of the remote server |
file.remote.name | The fullname of the file consumed from the remote server |
Known issues
When consuming files (downloading) you must use type conversation to either String or to InputStream for ASCII and BINARY file types.
In Camel 1.4 this is fixed, as there are build in type converters for the ASCII and BINARY file types, meaning that you do not need the convertBodyTo expression.
...