Artem Bilan

Results 616 comments of Artem Bilan

Well, that works for me as expected: ``` @SpringBootApplication public class SpringIntegrationMultipartApplication { public static void main(String[] args) { SpringApplication.run(SpringIntegrationMultipartApplication.class, args); } @Bean MultipartResolver multipartResolver() { return new CommonsMultipartResolver(); }...

> 2 files selected... Didn't know it is possible. Let me check! But that's exactly difference between my tests and yours. I don't believe you are able to add two...

Nope. Still works: ``` payload = {LinkedMultiValueMap@6585} size = 1 "files" -> {ArrayList@6591} size = 2 key = "files" value = {ArrayList@6591} size = 2 0 = {UploadedMultipartFile@6593} file =...

Nothing fancy. Just whatever Spring Boot gives us: ``` 4.0.0 org.springframework.boot spring-boot-starter-parent 2.6.0 org.springframework.integration spring-integration-multipart 0.0.1-SNAPSHOT spring-integration-multipart spring-integration-multipart 11 org.springframework.boot spring-boot-starter-integration org.springframework.boot spring-boot-starter-web org.springframework.integration spring-integration-http commons-fileupload commons-fileupload 1.4 org.springframework.boot spring-boot-starter-test...

Show, please, the whole stack trace for such an error. The `RemoteFileUtils.makeDirectories()` has a logic like this: ``` for (String pathToCreate : pathsToCreate) { if (logger.isDebugEnabled()) { logger.debug("Creating '" +...

This is the part of JCIFS where that exception is thrown: ``` default: if ( log.isDebugEnabled() ) { log.debug("Error code: 0x" + Hexdump.toHexString(resp.getErrorCode(), 8) + " for " + req.getClass().getSimpleName());...

Hm. We have a logic in there in the `SmbConfig` like this: ``` if (!path.startsWith("/")) { path = "/" + path; } ``` According to your findings it looks like...

Yes. We can live with that workaround and give it some flexibility when same configuration without "forward slash at the end" works in other environment.

Sure! Feel free to contribute one: https://github.com/spring-projects/spring-integration-samples/wiki! Probably a Java DSL configuration is preferable. Thanks

Would you mind to the share with us a the whole configuration for this task and explain what you try to achieve? It feels like you are missing the reasoning...