Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
1.1.1
-
None
-
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"