« Return to Thread: FTP connector

Re: FTP connector

by jlu :: Rate this Message:

Reply to Author | View in Thread

Hi Ove Gram Nipen,

I managed to get pass the error 530 last night , thought the "Streaming failed. Could not get output stream" is still there, and then got error 500, which I believe is the login problem according to the log (Failed to change working directory to .). I can do command line "ftp localhost" w/o any problem by the user/password pair. Is there anything else I need to set up on ftp server side? On OS X, there is a very easy management tool to turn ftp access on/off. I also tried to open the entire directory to "777" w/o luck.

Thank you for the help,

Jeffrey

Exception stack is:
1. Failed to change working directory to . Ftp error: 500 (java.io.IOException)
  org.mule.transport.ftp.FtpConnector:593 (http://java.sun.com/j2se/1.5.0/docs/api/java/io/IOException.html)
2. Streaming failed. Could not get output stream. Failed to route event via endpoint: DefaultOutboundEndpoint{endpointUri=ftp://mule5:<password>@localhost, connector=FtpConnector{this=9afa26, started=true, initialised=true, name='connector.ftp.0', disposed=false, numberOfConcurrentTransactedReceivers=4, createMultipleTransactedReceivers=true, connected=true, supportedProtocols=[ftp], serviceOverrides=null}, transformer=[], name='endpoint.ftp.localhost.21', properties={passive=false, outputPattern=Copy-Of-${ORIGINALNAME}-${SYSTIME}.dat, validateConnections=true}, transactionConfig=Transaction{factory=null, action=NONE, timeout=0}, filter=null, deleteUnacceptedMessages=false, securityFilter=null, synchronous=false, initialState=started, remoteSync=false, remoteSyncTimeout=3000, endpointEncoding=UTF-8}. Message payload is of type: byte[] (org.mule.api.transport.DispatchException)
  org.mule.transport.ftp.FtpConnector:538 (http://mule.mulesource.org/docs/apidocs/org/mule/api/transport/DispatchException.html)
********************************************************************************
Root Exception stack trace:
java.io.IOException: Failed to change working directory to . Ftp error: 500
        at org.mule.transport.ftp.FtpConnector.createFtpClient(FtpConnector.java:593)
        at org.mule.transport.ftp.FtpConnector.getOutputStream(FtpConnector.java:504)
        at org.mule.transport.ftp.FtpMessageDispatcher.doDispatch(FtpMessageDispatcher.java:43)
        at org.mule.transport.AbstractMessageDispatcher$Worker.run(AbstractMessageDispatcher.java:261)
        at org.mule.work.WorkerContext.run(WorkerContext.java:310)
        at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1061)
        at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:575)
        at java.lang.Thread.run(Thread.java:613)


Error 530 means login incorrect. Have you checked that the user mule5
can log on to localhost by ftp using password topia1? You can do this by
using a stand alone ftp client.

--
Best regards,
Ove Gram Nipen

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email




 « Return to Thread: FTP connector