KIRA1983
2007-11-05 14:27:58 UTC
i try to create a simple INBOUND ftp endpoint, if i use anonymous works
fine(but i have error 550 because try to delete file after read) instead
using user i have ever error 550 but because :Failed to change working
directory
this is my endpoint:
<endpoint address="ftp://guest:***@localhost/IN">
<!-- prende i file al suo interno -->
<properties>
<property name="pollingFrequency" value="600000"/>
<property name="outputPattern" value="${ORIGINALNAME}__:${DATE}"/>
<!-- il file copiato avra lo stesso nome-->
<property name="binary" value="false"/>
<property name="validateConnections" value="true"/>
</properties>
</endpoint>
this is my trace:
INFO 2007-11-05 15:24:28,148 [WrapperSimpleAppMain] org.mule.MuleServer:
Mule Server initialized.
DEBUG 2007-11-05 15:24:29,125 [connector.ftp.0.receiver.1]
org.mule.providers.ftp.FtpConnector: >>> retrieving client for
ftp://guest:***@localhost/IN
DEBUG 2007-11-05 15:24:29,125 [connector.ftp.0.receiver.1]
org.mule.providers.ftp.FtpConnector: === get pool for
ftp://guest:***@localhost/IN
DEBUG 2007-11-05 15:24:29,180 [connector.ftp.0.receiver.1]
org.mule.providers.ftp.FtpConnector: <<< releasing client for
ftp://guest:***@localhost/IN
DEBUG 2007-11-05 15:24:29,180 [connector.ftp.0.receiver.1]
org.mule.providers.ftp.FtpConnector: === get pool for
ftp://guest:***@localhost/IN
INFO 2007-11-05 15:24:29,186 [connector.ftp.0.receiver.1]
org.mule.impl.DefaultExceptionStrategy: There is no current event available,
routing Null message with the exception
ERROR 2007-11-05 15:24:29,192 [connector.ftp.0.receiver.1]
org.mule.impl.DefaultExceptionStrategy: Caught exception in Exception
Strategy: Failed to change working directory to /IN. Ftp error: 550
java.io.IOException: Failed to change working directory to /IN. Ftp error:
550
at
org.mule.providers.ftp.FtpMessageReceiver.listFiles(FtpMessageReceiver.java:103)
at
org.mule.providers.ftp.FtpMessageReceiver.poll(FtpMessageReceiver.java:72)
at
org.mule.providers.PollingReceiverWorker.run(PollingReceiverWorker.java:47)
at org.mule.impl.work.WorkerContext.run(WorkerContext.java:310)
at
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:987)
at
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:528)
at java.lang.Thread.run(Thread.java:619)
any suggests?
-----
Italy
Thanks, Sergio
fine(but i have error 550 because try to delete file after read) instead
using user i have ever error 550 but because :Failed to change working
directory
this is my endpoint:
<endpoint address="ftp://guest:***@localhost/IN">
<!-- prende i file al suo interno -->
<properties>
<property name="pollingFrequency" value="600000"/>
<property name="outputPattern" value="${ORIGINALNAME}__:${DATE}"/>
<!-- il file copiato avra lo stesso nome-->
<property name="binary" value="false"/>
<property name="validateConnections" value="true"/>
</properties>
</endpoint>
this is my trace:
INFO 2007-11-05 15:24:28,148 [WrapperSimpleAppMain] org.mule.MuleServer:
Mule Server initialized.
DEBUG 2007-11-05 15:24:29,125 [connector.ftp.0.receiver.1]
org.mule.providers.ftp.FtpConnector: >>> retrieving client for
ftp://guest:***@localhost/IN
DEBUG 2007-11-05 15:24:29,125 [connector.ftp.0.receiver.1]
org.mule.providers.ftp.FtpConnector: === get pool for
ftp://guest:***@localhost/IN
DEBUG 2007-11-05 15:24:29,180 [connector.ftp.0.receiver.1]
org.mule.providers.ftp.FtpConnector: <<< releasing client for
ftp://guest:***@localhost/IN
DEBUG 2007-11-05 15:24:29,180 [connector.ftp.0.receiver.1]
org.mule.providers.ftp.FtpConnector: === get pool for
ftp://guest:***@localhost/IN
INFO 2007-11-05 15:24:29,186 [connector.ftp.0.receiver.1]
org.mule.impl.DefaultExceptionStrategy: There is no current event available,
routing Null message with the exception
ERROR 2007-11-05 15:24:29,192 [connector.ftp.0.receiver.1]
org.mule.impl.DefaultExceptionStrategy: Caught exception in Exception
Strategy: Failed to change working directory to /IN. Ftp error: 550
java.io.IOException: Failed to change working directory to /IN. Ftp error:
550
at
org.mule.providers.ftp.FtpMessageReceiver.listFiles(FtpMessageReceiver.java:103)
at
org.mule.providers.ftp.FtpMessageReceiver.poll(FtpMessageReceiver.java:72)
at
org.mule.providers.PollingReceiverWorker.run(PollingReceiverWorker.java:47)
at org.mule.impl.work.WorkerContext.run(WorkerContext.java:310)
at
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:987)
at
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:528)
at java.lang.Thread.run(Thread.java:619)
any suggests?
-----
Italy
Thanks, Sergio
--
View this message in context: http://www.nabble.com/error-ftp-550-%27Failed-to-change-working-directory%27-tf4751945.html#a13587792
Sent from the Mule - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email
View this message in context: http://www.nabble.com/error-ftp-550-%27Failed-to-change-working-directory%27-tf4751945.html#a13587792
Sent from the Mule - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email