Re: I'm confused about FTP option "localWorkDirectory"

2013-04-12 Thread Chris Wolf
Ok, I forgot about implicit type conversion. I can see that if RemoteFile gets routed to, for example, a bean method with signature public void processFile(InputStream input), that Camel will convert RemoteFile to BufferedInputStream. I also was able to get a valid java.io.File instance by callin

I'm confused about FTP option "localWorkDirectory"

2013-04-12 Thread Chris Wolf
I read the documentation: http://camel.apache.org/ftp.html and want to FTP large files, as such, I don't want the entire file loaded into memory - I thought the "localWorkDirectory" option would allow this. That web page says, "It will download the remote file directly to a local file stream. The