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
Reporter: Sai Pullabhotla
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.