dk2k commented on a change in pull request #5842:
URL: https://github.com/apache/camel/pull/5842#discussion_r672371411



##########
File path: 
components/camel-ftp/src/main/java/org/apache/camel/component/file/remote/FtpOperations.java
##########
@@ -524,7 +524,10 @@ private boolean 
retrieveFileToFileInLocalWorkDirectory(String name, Exchange exc
             local = new File(local, relativeName);
 
             // create directory to local work file
-            local.mkdirs();
+            boolean result = local.mkdirs();
+            if (!result) {
+                log.error("mkdirs() failed for " + local);

Review comment:
       Thanks again!




-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to