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

Error after pasting a non-empty folder

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.1.1
    • None
    • Server
    • None

    Description

      When you paste a non-empty folder, the service will report a path that does not exist. At this point, refreshing the current directory will prompt you to access the abnormal path. Returning to the home page will display the pasted non-empty folder directory.
      Example:
      FTP server operation path: /root/Test
      Copyed non-empty folder name: NotEmpty
      Files contained in non-empty folders: Note.txt

      Debugging details:
      Paste operation
      Execution: FileSystemView: changeWorkingDirectory("/root/Test/")
      Execution: FileSystemView:getFile("NotEmpty")
      Execution: FtpFile:mkdir
      Execution: FileSystemView:changeWorkingDirectory("NotEmpty")
      Execute: FileSystemView:changeWorkingDirectory("/root/Test")
      Execute: FileSystemView:changeWorkingDirectory("/root/Test/")
      Execution: FileSystemView:changeWorkingDirectory("NotEmpty")
      Execution: FileSystemView:changeWorkingDirectory("/root/Test/NotEmpty/Test/NotEmpty/")
      The "550 Nosuch directory" appears, the directory "/root/Test/NotEmpty/Test/NotEmpty" does not exist, and the correct one should be to access "./". Since then all paths have added the error prefix "/root/Test/NotEmpty"

      Attachments

        Activity

          People

            Unassigned Unassigned
            AlexMofer Alex X
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: