Lars, The folder I am connecting to is corrrect and I am able to connect to it using a standalone client. Below I have included the xbeans that I use to implement the file transfer usecase. Also at this point I am not using any marshaller and was hoping that I would use servicemix out of the box capabilities just to configure and pole file from a remote server
File Sender <beans xmlns:file="http://servicemix.apache.org/file/1.0" xmlns:ftp="http://servicemix.apache.org/ftp/1.0" xmlns:tut="urn:servicemix:tutorial"> <file:sender service="tut:file" endpoint="sender" directory="file:c:/work/test/sender" /> </beans> FTP Poller <beans xmlns:ftp="http://servicemix.apache.org/ftp/1.0" xmlns:tut="urn:servicemix:tutorial"> <ftp:poller service="tut:ftp" endpoint="poller" targetService="tut:file" uri="ftp://username:[EMAIL PROTECTED]/tmp/esb" targetEndpoint="sender" deleteFile="true"/> </beans> Thanks lhe77 wrote: > > Only some guesses: > > - is the folder you are connecting to correct? > - are you using the correct marshaler? > - some typos in the xbean of the ftp poller? > > It's hard to tell you something more special without having a look at your > xbean configuration files. > > Regards > Lars > > > javadevel schrieb: >> I am trying to poll a remote server via servicemix (Fuse ESB 3.3.0.10) >> ftp >> poller and write the data to a local directory. In order to do this I >> have >> created two SU’s (FTP Poller and File Sender) the former to poll the >> remote >> server and the latter to write the result to local directory. The two >> SU's >> are put on a single SA. The code is successfully deployed and a message >> is >> written on the console that shows the system is polling the remote >> server, >> however, the file is not transferred to the local directory or removed >> from >> the source folder. When I give the ftp poller the wrong password it >> generates connection errors, which indicates it is successfully >> connecting >> to the remote server. Has anyone experienced similar problem? Your help >> is >> appreciated. >> > > -- View this message in context: http://www.nabble.com/Issues-with-ftp-poller-tp16715680p16722074.html Sent from the ServiceMix - User mailing list archive at Nabble.com.
