You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Srini97 <sr...@googlemail.com> on 2010/06/11 18:55:42 UTC

FTP error 150 while writing the file

Hello , I am getting error with code 150 while writing the file on the FTP.
Here is the full log for that and the URI I used is below .


[2010-06-11 16:53:25,163][pool-1-thread-3][WARN
][org.apache.camel.component.file.remote.RemoteFileProducer][] Writing file
failed with: File operation fa
iled: 150 Opening data channel for file transfer.
 IOException caught while copying.. Code: 150
[2010-06-11
16:53:25,165][pool-1-thread-3][DEBUG][com.opta.delivery.RetryBean][]
endpoint [ftp://wc@localhost/?disconnect=true&fileName=f24-4-2009-312
091-eventdetails.xml&ftpClient.connectTimeout=120000&ftpClient.dataTimeout=15000&ftpClient.defaultTimeout=15000&password=nopassorrfddd],
maxretries [2], redel
ivery count [1]
[2010-06-11
16:53:25,166][pool-1-thread-3][DEBUG][com.opta.delivery.RetryBean][]
Delivery for endpoint [ftp://wc@localhost/?disconnect=true&fileName=f
24-4-2009-312091-eventdetails.xml&ftpClient.connectTimeout=120000&ftpClient.dataTimeout=15000&ftpClient.defaultTimeout=15000&password=nopassorrfddd]
will be r
etried? [true]
[2010-06-11 16:53:25,775][pool-1-thread-3][INFO
][org.apache.camel.component.file.remote.RemoteFileProducer][] Connected and
logged in to: Endpoint[ftp://
wc@localhost/?disconnect=true&fileName=f24-4-2009-312091-eventdetails.xml&ftpClient.connectTimeout=120000&ftpClient.dataTimeout=15000&ftpClient.defaul
tTimeout=15000&password=nopassorrfddd]
[2010-06-11 16:53:26,374][pool-1-thread-3][WARN
][org.apache.camel.component.file.remote.RemoteFileProducer][] Writing file
failed with: File operation fa
iled: 150 Opening data channel for file transfer.
 IOException caught while copying.. Code: 150
[2010-06-11
16:53:26,376][pool-1-thread-3][DEBUG][com.opta.delivery.RetryBean][]
endpoint [ftp://wc@localhost/?disconnect=true&fileName=f24-4-2009-312
091-eventdetails.xml&ftpClient.connectTimeout=120000&ftpClient.dataTimeout=15000&ftpClient.defaultTimeout=15000&password=nopassorrfddd],
maxretries [2], redel
ivery count [2]
[2010-06-11
16:53:26,376][pool-1-thread-3][DEBUG][com.opta.delivery.RetryBean][]
Delivery for endpoint [ftp://wc@localhost/?disconnect=true&fileName=f
24-4-2009-312091-eventdetails.xml&ftpClient.connectTimeout=120000&ftpClient.dataTimeout=15000&ftpClient.defaultTimeout=15000&password=nopassorrfddd]
will be r
etried? [false]
[2010-06-11
16:53:26,376][pool-1-thread-3][ERROR][org.apache.camel.processor.DefaultErrorHandler][]
Failed delivery for exchangeId: 2dcc8436-82eb-4850-946
4-8359edf13665. Exhausted after delivery attempt: 2 caught:
org.apache.camel.component.file.GenericFileOperationFailedException: File
operation failed: 15
0 Opening data channel for file transfer.
 IOException caught while copying.. Code: 150
org.apache.camel.component.file.GenericFileOperationFailedException: File
operation failed: 150 Opening data channel for file transfer.
 IOException caught while copying.. Code: 150
        at
org.apache.camel.component.file.remote.FtpOperations.storeFile(FtpOperations.java:358)
        at
org.apache.camel.component.file.GenericFileProducer.writeFile(GenericFileProducer.java:208)
        at
org.apache.camel.component.file.GenericFileProducer.processExchange(GenericFileProducer.java:124)
        at
org.apache.camel.component.file.remote.RemoteFileProducer.process(RemoteFileProducer.java:49)
        at
org.apache.camel.processor.RedeliveryErrorHandler.processExchange(RedeliveryErrorHandler.java:177)
        at
org.apache.camel.processor.RedeliveryErrorHandler.processErrorHandler(RedeliveryErrorHandler.java:143)
        at
org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:88)
        at
org.apache.camel.processor.DefaultErrorHandler.process(DefaultErrorHandler.java:49)
        at
org.apache.camel.processor.MulticastProcessor.doProcess(MulticastProcessor.java:278)
        at
org.apache.camel.processor.MulticastProcessor.access$000(MulticastProcessor.java:62)
        at
org.apache.camel.processor.MulticastProcessor$1.call(MulticastProcessor.java:199)
        at
org.apache.camel.processor.MulticastProcessor$1.call(MulticastProcessor.java:193)
        at
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
        at java.util.concurrent.FutureTask.run(FutureTask.java:138)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:619)
Caused by: org.apache.commons.net.io.CopyStreamException: IOException caught
while copying.
        at org.apache.commons.net.io.Util.copyStream(Util.java:129)



thanks in advance for the help! 

Regards
Sri



-- 
View this message in context: http://old.nabble.com/FTP-error-150-while-writing-the-file-tp28857622p28857622.html
Sent from the Camel - Users mailing list archive at Nabble.com.