Alex X created FTPSERVER-495:
--------------------------------
Summary: Error after pasting a non-empty folder
Key: FTPSERVER-495
URL: https://issues.apache.org/jira/browse/FTPSERVER-495
Project: FtpServer
Issue Type: Bug
Components: Server
Affects Versions: 1.1.1
Reporter: Alex X
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("{color:#FF0000}/root/Test/NotEmpty/Test/NotEmpty/{color}")*
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"
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]