On Thu, Sep 6, 2012 at 1:50 PM, Hilde <[email protected]> wrote: > Hello Claus! > > That is the ftp trace. Could you please explain me what is wrong configured > with the ftp endpoint when you see below the trace? >
You can try to login manually and see if there is any files when you do a listing. Also you can try setting stepWise=false. > Here is the ftp endpoint: > ftp://00008@mecsoc-vm28/?noop=true&startingDirectoryMustExist=true&sendEmptyMessageWhenIdle=true&maximumReconnectAttempts=4&reconnectDelay=10000&binary=true&password=pR+F3Snb}?&localWorkDirectory=/tmp&filter=#referenceDataFileFilter > > 012-09-06 13:39:09,684 | INFO | ://SEDA.TRANSFER | DN1DynamicRouterBuilder > | 189 - de.datatransformation.processcontrol - 0.1.0.SNAPSHOT | Waiting for > route dynamicRouteRefData > 2012-09-06 13:39:10,648 | TRACE | 008@mecsoc-vm28/ | FtpConsumer > | 118 - org.apache.camel.camel-core - 2.10.0 | prePollCheck on > ftp://00008@mecsoc-vm28:21 > 2012-09-06 13:39:10,649 | DEBUG | 008@mecsoc-vm28/ | FtpConsumer > | 118 - org.apache.camel.camel-core - 2.10.0 | Not connected/logged in, > connecting to: ftp://00008@mecsoc-vm28:21 > 2012-09-06 13:39:10,649 | TRACE | 008@mecsoc-vm28/ | FtpOperations > | 145 - org.apache.camel.camel-ftp - 2.10.0 | Connecting using FTPClient: > org.apache.commons.net.ftp.FTPClient@b862815 > 2012-09-06 13:39:10,649 | TRACE | 008@mecsoc-vm28/ | FtpOperations > | 145 - org.apache.camel.camel-ftp - 2.10.0 | Connecting to > ftp://00008@mecsoc-vm28:21 using connection timeout: 10000 > 2012-09-06 13:39:10,711 | TRACE | 008@mecsoc-vm28/ | FtpOperations > | 145 - org.apache.camel.camel-ftp - 2.10.0 | Attempting to login user: > 00008 using password: pR+F3Snb}? > 2012-09-06 13:39:13,089 | TRACE | 008@mecsoc-vm28/ | FtpOperations > | 145 - org.apache.camel.camel-ftp - 2.10.0 | User 00008 logged in: true > 2012-09-06 13:39:13,095 | INFO | 008@mecsoc-vm28/ | FtpConsumer > | 118 - org.apache.camel.camel-core - 2.10.0 | Connected and logged in to: > ftp://00008@mecsoc-vm28:21 > 2012-09-06 13:39:13,096 | TRACE | 008@mecsoc-vm28/ | FtpOperations > | 145 - org.apache.camel.camel-ftp - 2.10.0 | getCurrentDirectory() > 2012-09-06 13:39:13,107 | TRACE | 008@mecsoc-vm28/ | FtpConsumer > | 118 - org.apache.camel.camel-core - 2.10.0 | doPollDirectory from > absolutePath: , dirName: null > 2012-09-06 13:39:13,108 | TRACE | 008@mecsoc-vm28/ | FtpOperations > | 145 - org.apache.camel.camel-ftp - 2.10.0 | changeCurrentDirectory() > 2012-09-06 13:39:13,108 | TRACE | 008@mecsoc-vm28/ | FtpConsumer > | 118 - org.apache.camel.camel-core - 2.10.0 | Polling directory: > 2012-09-06 13:39:13,108 | TRACE | 008@mecsoc-vm28/ | FtpOperations > | 145 - org.apache.camel.camel-ftp - 2.10.0 | listFiles() > 2012-09-06 13:39:13,140 | TRACE | 008@mecsoc-vm28/ | FtpConsumer > | 118 - org.apache.camel.camel-core - 2.10.0 | No files found in directory: > 2012-09-06 13:39:13,140 | TRACE | 008@mecsoc-vm28/ | FtpOperations > | 145 - org.apache.camel.camel-ftp - 2.10.0 | changeCurrentDirectory(/) > 2012-09-06 13:39:13,141 | TRACE | 008@mecsoc-vm28/ | FtpOperations > | 145 - org.apache.camel.camel-ftp - 2.10.0 | Changing directory: / > 2012-09-06 13:39:13,144 | DEBUG | 008@mecsoc-vm28/ | FtpConsumer > | 118 - org.apache.camel.camel-core - 2.10.0 | Took 0.048 seconds to poll: > 2012-09-06 13:39:13,144 | TRACE | 008@mecsoc-vm28/ | FtpConsumer > | 118 - org.apache.camel.camel-core - 2.10.0 | postPollCheck on > ftp://00008@mecdos-vm28:21 > 2012-09-06 13:39:13,146 | DEBUG | 008@mecsoc-vm28/ | FtpConsumer > | 118 - org.apache.camel.camel-core - 2.10.0 | Sending empty message as > there were no messages from polling: Endpoint[ftp://00008@mecsoc-vm28/ > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/FTP-Endpoint-doesn-t-work-on-Linux-tp5718548p5718718.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- FuseSource Email: [email protected] Web: http://fusesource.com Twitter: davsclaus, fusenews Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen
