Uploaded image for project: 'FtpServer'
  1. FtpServer
  2. FTPSERVER-233

MKD command should not create all the parent directories

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0.0-M4
    • 1.0.0-RC1
    • Core
    • None

    Description

      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.

      Attachments

        Activity

          People

            niklas Niklas Therning
            psai Sai Pullabhotla
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: