Re: how to check that a file exists in ftpserver

2016-11-17 Thread rahul.lam...@gmail.com
I Also have similar question just i want to check if file not present at Sftp location then thow exception.. -- View this message in context: http://camel.465427.n5.nabble.com/how-to-check-that-a-file-exists-in-ftpserver-tp5758705p5790206.html Sent from the Camel - Users mailing list archive

Re: How to route the file like lst_20140427.tar.gz if the lst_20140427.done file exists

2015-03-12 Thread Pontus Ullgren
to route file with the pattern > lst_20140427.tar.gz if the lst_20140427.done file exists > > How to define a camel route with doneFileName ?? > > Please help me. > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/How-to-route-the-file-lik

How to route the file like lst_20140427.tar.gz if the lst_20140427.done file exists

2015-03-12 Thread skasish
I have to route file with the pattern lst_20140427.tar.gz if the lst_20140427.done file exists How to define a camel route with doneFileName ?? Please help me. -- View this message in context: http://camel.465427.n5.nabble.com/How-to-route-the-file-like-lst-20140427-tar-gz-if-the-lst

Re: how to check that a file exists in ftpserver

2014-11-08 Thread Claus Ibsen
Using noop=true and download=false can be used to check if if a file exists. And you can set fastExistsCheck=true, and stepwise=false to scan much less. On Sat, Nov 8, 2014 at 8:51 AM, erik_romson wrote: > Thanks for a quick reply. > > I'm sorry but you have to spell it out

Re: how to check that a file exists in ftpserver

2014-11-07 Thread erik_romson
this message in context: http://camel.465427.n5.nabble.com/how-to-check-that-a-file-exists-in-ftpserver-tp5758705p5758747.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: how to check that a file exists in ftpserver

2014-11-07 Thread Claus Ibsen
other folder by another process > > in a route, I want to > 1: read file name(s) from database (select filename from atable where > state='file_not_moved') > 2: check that file exists in ftpserver/folder > 3: [true] update atable set status='file_moved' where

how to check that a file exists in ftpserver

2014-11-07 Thread erik_romson
from("sql:select filename from atable where state='file_not_moved'") .enrich("file://urltoprocessedfolder?noop=true&readLock=none&fileName=${header.filename}"); this works but it seems shady somehow Is the *best* way to create a predicate that actually check if the fil

Re: sftp file exists

2014-05-29 Thread bsurya1989
iece of code helps others. Thanks a lot Claus for your valuable suggestions. Regards, Surya. -- View this message in context: http://camel.465427.n5.nabble.com/sftp-file-exists-tp5751658p5751694.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: sftp file exists

2014-05-29 Thread bsurya1989
the latest one or else it should delete the file from source(file: > > component), if the file already exists in destination. > > > > But I am unable find the correct option supported by sftp: component > which > > determines whether the file exists or not in the remo

Re: sftp file exists

2014-05-29 Thread Claus Ibsen
ent), if the file already exists in destination. > > But I am unable find the correct option supported by sftp: component which > determines whether the file exists or not in the remote sftp server ? > > Currently I am using the following endpoint : > sftp://test:test@localhos

Re: sftp file exists

2014-05-28 Thread bsurya1989
exists or not in the remote sftp server ? Currently I am using the following endpoint : sftp://test:test@localhost:22/sam/?stepwise=false&fileExist=Override&moveExisting=backup-of-${file:name} What kind of option does sftp: component support to find whether file exists or not ? And if it ex

Re: sftp file exists

2014-05-28 Thread Claus Ibsen
ue > > Can anyone give me idea regarding how to accomplish this task? > > Thanks in Advance. > > Regards, > Surya. > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/sftp-file-exists-tp5751658.html > Sent from the Camel - Users m

sftp file exists

2014-05-28 Thread bsurya1989
lhost:22/sam/?stepwise=false&fileExist=Move&moveExisting=true Can anyone give me idea regarding how to accomplish this task? Thanks in Advance. Regards, Surya. -- View this message in context: http://camel.465427.n5.nabble.com/sftp-file-exists-tp5751658.html Sent from the Camel - Users mai

Re: File Exists

2014-02-13 Thread Claus Ibsen
On Thu, Feb 13, 2014 at 9:23 PM, JKemp wrote: > Hey guys, > > Does anyone have any further ideas here? I don't see any obvious way to get > the listing of file names. Or should I be looking at another way to solve > this problem? > You can use the java.io file api to che

RE: File Exists

2014-02-13 Thread JKemp
Hey guys, Does anyone have any further ideas here? I don't see any obvious way to get the listing of file names. Or should I be looking at another way to solve this problem? Thanks. -- View this message in context: http://camel.465427.n5.nabble.com/File-Exists-tp5746608p5747277.html

RE: File Exists

2014-02-06 Thread JKemp
cFile.html <http://camel.apache.org/maven/camel-2.12.0/camel-core/apidocs/org/apache/camel/component/file/GenericFile.html> Can you please clarify how the listing is passed to the filter? Thank you. -- View this message in context: http://camel.465427.n5.nabble.com/File-Exists-tp5746

RE: File Exists

2014-01-31 Thread Ravindra.Godbole
, February 01, 2014 1:17 AM To: users@camel.apache.org Subject: Re: File Exists Ah, whoops, my fault. I was looking at the File documentation and not at File2. I think I have a working solution, but I'm wondering if I'm going about this in the best way. I set up my route with

Re: File Exists

2014-01-31 Thread JKemp
e the second file. Since I was using maxMessagesPerPoll, I thought this would work as a batch consumer, but I don't see the CamelBatchSize header populated when I print the headers. Is there any way to make the filtering inspect all the files in the batch at once? Am I off track here? Thanks

Re: File Exists

2014-01-30 Thread Claus Ibsen
now what sort of expression I > could put in to detect that they've both been found. Or should I be putting > an Aggregator at the end and adding the filter to that somehow? > > Thanks for the quick reply. > > > > -- > View this message in context: > http://camel.

Re: File Exists

2014-01-30 Thread JKemp
at sort of expression I could put in to detect that they've both been found. Or should I be putting an Aggregator at the end and adding the filter to that somehow? Thanks for the quick reply. -- View this message in context: http://camel.465427.n5.nabble.com/File-Exists-tp5746608p5746640.htm

Re: File Exists

2014-01-30 Thread Claus Ibsen
Need to check how it behaves ? > Camel filters first the files, before it processes the batch of files that was accepted. > > > -Original Message- > From: Claus Ibsen [mailto:claus.ib...@gmail.com] > Sent: Thursday, January 30, 2014 3:44 PM > To: users@camel.apache

RE: File Exists

2014-01-30 Thread Ravindra.Godbole
Ibsen [mailto:claus.ib...@gmail.com] Sent: Thursday, January 30, 2014 3:44 PM To: users@camel.apache.org Subject: Re: File Exists On Thu, Jan 30, 2014 at 4:49 AM, JKemp wrote: > Hey guys, > > I'm trying to write a Camel route that will only kick off once two files are > present on

Re: File Exists

2014-01-30 Thread Claus Ibsen
d file and kick out an error if the second file doesn't > exist, but this seems a little kludgy. Is there a better way to accomplish > this? > > Thanks. > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/File-Exists-tp5746608.html &g

Re: File Exists

2014-01-29 Thread Richard Kettelerij
cond file doesn't > exist, but this seems a little kludgy. Is there a better way to accomplish > this? > > Thanks. > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/File-Exists-tp5746608.html > Sent from the Camel - Users mailing list archive at Nabble.com. >

File Exists

2014-01-29 Thread JKemp
in context: http://camel.465427.n5.nabble.com/File-Exists-tp5746608.html Sent from the Camel - Users mailing list archive at Nabble.com.