Thanks Claus. Yes the file name will always be the same (eg:
inputFile.csv). Only the directory name is dynamic. I will give it a go
tomorrow at work. Thanks for you help.


On Mon, Aug 10, 2015 at 7:46 PM, Claus Ibsen-2 [via Camel] <
ml-node+s465427n5770522...@n5.nabble.com> wrote:

> Hi
>
> Yeah you can filter by fileName actually. Though this would require
> the file to be named inputFile.csv
>
> On Mon, Aug 10, 2015 at 10:45 AM, hayden74 <[hidden email]
> <http:///user/SendEmail.jtp?type=node&node=5770522&i=0>> wrote:
>
> > So basically change the route to:
> >
> >
> from("smb://networkDriveOne/"?noop=true&fileName=${date:now:ddMMyyyy}/inputFile.csv&recursive=true")
>
> >    .to("smb://networkDriveTwo?fileExist=Override")
> >
> >
> >
> > --
> > View this message in context:
> http://camel.465427.n5.nabble.com/smb-endpoint-modified-files-not-copied-to-destination-tp5770499p5770521.html
> > Sent from the Camel - Users mailing list archive at Nabble.com.
>
>
>
> --
> Claus Ibsen
> -----------------
> http://davsclaus.com @davsclaus
> Camel in Action 2nd edition: http://www.manning.com/ibsen2
>
>
> ------------------------------
> If you reply to this email, your message will be added to the discussion
> below:
>
> http://camel.465427.n5.nabble.com/smb-endpoint-modified-files-not-copied-to-destination-tp5770499p5770522.html
> To unsubscribe from smb endpoint - modified files not copied to
> destination, click here
> <http://camel.465427.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=5770499&code=aGRyZDc0QGdtYWlsLmNvbXw1NzcwNDk5fC0xODg5Nzg4OTI4>
> .
> NAML
> <http://camel.465427.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>




--
View this message in context: 
http://camel.465427.n5.nabble.com/smb-endpoint-modified-files-not-copied-to-destination-tp5770499p5770523.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to