[ https://issues.apache.org/jira/browse/FTPSERVER-233?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Niklas Gustavsson updated FTPSERVER-233: ---------------------------------------- Component/s: Core Fix Version/s: 1.0.0-RC1 Affects Version/s: 1.0.0-M4 > MKD command should not create all the parent directories > -------------------------------------------------------- > > Key: FTPSERVER-233 > URL: https://issues.apache.org/jira/browse/FTPSERVER-233 > Project: FtpServer > Issue Type: Bug > Components: Core > Affects Versions: 1.0.0-M4 > Reporter: Sai Pullabhotla > Fix For: 1.0.0-RC1 > > > MKD command should not create all the parent directories, instead it should > only try to create the last name in the given path. > I'm filing this as a bug because most FTP servers fail if the parent > directory does not exist. Just to be consistent with those we need to change > the behavior too. > To fix this, java.io.File.mkdirs() should be changed to java.io.File.mkdir() > in the NativeFtpFile.java. Have to make sure this does not effect any other > things though. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.