MehrCurry opened a new issue #620: FTP producer: Error writig file URL: https://github.com/apache/camel-k/issues/620 I have a simple route to write a file to a ftp server: ``` ftp.kts from("timer:kotlin?period=60s") .setBody().constant("FTP Test") .to("ftp://[email protected]&password=xxx&fileName=foo.bar&transferLoggingLevel=DEBUG&transferLoggingIntervalSeconds=1&transferLoggingVerbose=false") .to("log:info") ``` It a public test server. When deploying i got: ``` [2] [2] Message History [2] --------------------------------------------------------------------------------------------------------------------------------------- [2] RouteId ProcessorId Processor Elapsed (ms) [2] [route1 ] [route1 ] [timer://kotlin?period=60s ] [ 860] [2] [route1 ] [setBody1 ] [setBody[constant{FTP Test}] ] [ 5] [2] [route1 ] [to1 ] [ftp://[email protected]&password=xxxxxx&fileName=fo] [ 850] [2] [2] Stacktrace [2] --------------------------------------------------------------------------------------------------------------------------------------- [2] org.apache.camel.component.file.GenericFileOperationFailedException: Error writing file [foo.bar] [2] at org.apache.camel.component.file.GenericFileProducer.writeFile(GenericFileProducer.java:307) ~[org.apache.camel.camel-core-2.23.1.jar:2.23.1] [2] at org.apache.camel.component.file.GenericFileProducer.processExchange(GenericFileProducer.java:169) ~[org.apache.camel.camel-core-2.23.1.jar:2.23.1] [2] at org.apache.camel.component.file.remote.RemoteFileProducer.process(RemoteFileProducer.java:57) ~[org.apache.camel.camel-ftp-2.23.1.jar:2.23.1] [2] at org.apache.camel.util.AsyncProcessorConverterHelper$ProcessorToAsyncProcessorBridge.process(AsyncProcessorConverterHelper.java:61) ~[org.apache.camel.camel-core-2.23.1.jar:2.23.1] ``` I think the ftp component tries to write the data to a file before uploading and i missed to configure some temporary workspace. How could it be done? Am i missing some hints in the documentation?
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
