[ https://issues.apache.org/jira/browse/WW-3664?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13068524#comment-13068524 ]
Dave Newton commented on WW-3664: --------------------------------- I think he's just saying that the current code will make a directory, he wants it to make the entire tree. I'm changing the priority to low. > FileUpload interceptor not recursively creating directories if one doesn't > already exist > ---------------------------------------------------------------------------------------- > > Key: WW-3664 > URL: https://issues.apache.org/jira/browse/WW-3664 > Project: Struts 2 > Issue Type: Bug > Components: Dispatch Filter > Affects Versions: 2.2.1 > Environment: Solaris > Reporter: Mukarram Baig > Labels: features > Original Estimate: 24h > Remaining Estimate: 24h > > The current implementation of the file upload interceptor, if the multipart > save directory location specified does not already exist, we try to create it > but not recursively. Is there a reason for not doing it? More specifically, > we are calling multipartSaveDir.mkdir() rather than > multipartSaveDir.mkdirs(). I can attach a patch if that helps... -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira