Hey all, first time posting here so feel free to ask me for more details on
anything.

I'm using Apache Camel 2.17.1 on a CentOS 6.7 VM with VSFTPD version 2.2.2. 
I'm testing local file transferring using Apache Camel just so I can get a
feel for everything.

I have a route similar to this:

<route customId="true" id="localRoute">
    <from
uri="ftp://localUsername@127.0.0.1/LOCAL/takefrom?password=localPassword&amp;move=${file:name.noext}.${file:name.ext}.old&amp;exclude=.*.old&amp;include=.*.txt";
/>
    <to
uri="ftp://localUsername@127.0.0.1/LOCAL/puthere?password=localPassword"; />
</route>


And it simply does not work.  The from URI will not transfer any files in
the "LOCAL/takefrom" directory.

All directories that are being used have been "chmod -R 777" so I know there
are no errors with permissions on the paths or the files in them. 

Also, switching from "ftp://"; to "sftp://"; results in Camel working as
intended moving all files from the takefrom directory into the puthere
directory, it seems to be some odd, specific issue with the FTP.

Turning on debugging (by updating the LOG4J properties to use DEBUG) results
in no errors being shown.  The logging output even ends with:

"2016-07-22 13:26:38 [main] INFO  org.apache.camel.spring.SpringCamelContext 
- Total 1 routes, of which 1 are started.
2016-07-22 13:26:38 [main] INFO  org.apache.camel.spring.SpringCamelContext 
- Apache Camel 2.17.1 (CamelContext: camel-1) started in 0.599 seconds"

Camel immediately ends after that is logged, it does not attempt to wait
around and poll for any new files.  

I'm really not sure of what is going on, I haven't come across any other
posts that display a similar issue to mine so any help would be appreciated!  

Thanks



--
View this message in context: 
http://camel.465427.n5.nabble.com/FTP-Route-fails-with-no-errors-tp5785371.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to