[ 
https://issues.apache.org/jira/browse/CAMEL-21201?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17880961#comment-17880961
 ] 

Claus Ibsen commented on CAMEL-21201:
-------------------------------------

org.apache.camel.component.file.GenericFileOperationFailedException: File 
operation failed: 500 Illegal PORT command.
 Error writing file [ID-06f198e5-703c-11ef-b52b-3ab92e8528c7]. Code: 500
    at 
org.apache.camel.component.file.remote.FtpOperations.storeFile(FtpOperations.java:717)
 ~[camel-ftp-4.9.0-SNAPSHOT.jar:4.9.0-SNAPSHOT]
    at 
org.apache.camel.component.file.GenericFileProducer.writeFile(GenericFileProducer.java:342)
 ~[camel-file-4.9.0-SNAPSHOT.jar:4.9.0-SNAPSHOT]
    at 
org.apache.camel.component.file.GenericFileProducer.processExchange(GenericFileProducer.java:154)
 ~[camel-file-4.9.0-SNAPSHOT.jar:4.9.0-SNAPSHOT]
    at 
org.apache.camel.component.file.remote.RemoteFileProducer.process(RemoteFileProducer.java:61)
 ~[camel-ftp-4.9.0-SNAPSHOT.jar:4.9.0-SNAPSHOT]

> camel-ftp - Enrich exception with FTP client error codes if failing to upload 
> file
> ----------------------------------------------------------------------------------
>
>                 Key: CAMEL-21201
>                 URL: https://issues.apache.org/jira/browse/CAMEL-21201
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-ftp
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 4.9.0
>
>
> You see a generic exception such as
>  
> ileOperationFailedException - Error writing file 
> [ID-2925776a-703a-11ef-9df5-3ab92e8528c7]]
> org.apache.camel.component.file.GenericFileOperationFailedException: Error 
> writing file [ID-2925776a-703a-11ef-9df5-3ab92e8528c7]
>  
> But the FTP client has status code and text which we should include so the 
> user can understand the error better.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to