You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by diwakar <di...@nsn.com> on 2011/12/12 06:23:21 UTC

FTP - Get single file

Hi, 

               In Camel FTP, is it possible to specify single file to be
retrieved? The URI takes only the folder and filter seems to be the only way
for specifying the file name. Filter approach may not be good from
performance pov if there are 1000s of files.

With Best Regards,
Diwakar

--
View this message in context: http://camel.465427.n5.nabble.com/FTP-Get-single-file-tp5067211p5067211.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: FTP - Get single file

Posted by diwakar <di...@nsn.com>.
Hi, 

              Thanks. fileName works.

With Best Regards,
Diwakar


--
View this message in context: http://camel.465427.n5.nabble.com/FTP-Get-single-file-tp5067211p5067880.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: FTP - Get single file

Posted by Taariq Levack <ta...@gmail.com>.
Hi
Did you try the fileName or include options inherited from File[1]?

[1] http://camel.apache.org/file2.html

Taariq

On Mon, Dec 12, 2011 at 7:23 AM, diwakar <di...@nsn.com> wrote:

> Hi,
>
>               In Camel FTP, is it possible to specify single file to be
> retrieved? The URI takes only the folder and filter seems to be the only
> way
> for specifying the file name. Filter approach may not be good from
> performance pov if there are 1000s of files.
>
> With Best Regards,
> Diwakar
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/FTP-Get-single-file-tp5067211p5067211.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>