You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Sai Pullabhotla (JIRA)" <ji...@apache.org> on 2008/12/03 22:51:44 UTC
[jira] Created: (FTPSERVER-226) DELE command deletes directories
DELE command deletes directories
--------------------------------
Key: FTPSERVER-226
URL: https://issues.apache.org/jira/browse/FTPSERVER-226
Project: FtpServer
Issue Type: Bug
Components: Core
Affects Versions: 1.0.0-M3
Reporter: Sai Pullabhotla
Fix For: 1.0.0-M4
DELE command should NOT delete the object if the argument represents a directory. According to the FTP Standards RMD command should be used for deleting directories.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (FTPSERVER-226) DELE command deletes directories
Posted by "Sai Pullabhotla (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FTPSERVER-226?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sai Pullabhotla updated FTPSERVER-226:
--------------------------------------
Attachment: FTPSERVER-226_patch.txt
Attached is the patch to fix this. I used the existing 550 message on the DELE command. The clients receive a reply like this:
550 Not a valid file "/abc/b/c".
hope it is alright with you guys.
I also updated the Delete test case, not very used to writing test cases, but I tried :) Hope I did not mess up anything.
> DELE command deletes directories
> --------------------------------
>
> Key: FTPSERVER-226
> URL: https://issues.apache.org/jira/browse/FTPSERVER-226
> Project: FtpServer
> Issue Type: Bug
> Components: Core
> Affects Versions: 1.0.0-M4
> Reporter: Sai Pullabhotla
> Fix For: 1.0.0-RC1
>
> Attachments: FTPSERVER-226_patch.txt
>
>
> DELE command should NOT delete the object if the argument represents a directory. According to the FTP Standards RMD command should be used for deleting directories.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (FTPSERVER-226) DELE command deletes directories
Posted by "David Latorre (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FTPSERVER-226?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
David Latorre updated FTPSERVER-226:
------------------------------------
Fix Version/s: (was: 1.0.0-M4)
1.0.0-RC1
> DELE command deletes directories
> --------------------------------
>
> Key: FTPSERVER-226
> URL: https://issues.apache.org/jira/browse/FTPSERVER-226
> Project: FtpServer
> Issue Type: Bug
> Components: Core
> Affects Versions: 1.0.0-M3
> Reporter: Sai Pullabhotla
> Fix For: 1.0.0-RC1
>
>
> DELE command should NOT delete the object if the argument represents a directory. According to the FTP Standards RMD command should be used for deleting directories.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Closed: (FTPSERVER-226) DELE command deletes directories
Posted by "Niklas Gustavsson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FTPSERVER-226?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Niklas Gustavsson closed FTPSERVER-226.
---------------------------------------
Resolution: Fixed
Assignee: Niklas Gustavsson
Patch applied, looked great!
> DELE command deletes directories
> --------------------------------
>
> Key: FTPSERVER-226
> URL: https://issues.apache.org/jira/browse/FTPSERVER-226
> Project: FtpServer
> Issue Type: Bug
> Components: Core
> Affects Versions: 1.0.0-M4
> Reporter: Sai Pullabhotla
> Assignee: Niklas Gustavsson
> Fix For: 1.0.0-RC1
>
> Attachments: FTPSERVER-226_patch.txt
>
>
> DELE command should NOT delete the object if the argument represents a directory. According to the FTP Standards RMD command should be used for deleting directories.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (FTPSERVER-226) DELE command deletes directories
Posted by "Niklas Gustavsson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FTPSERVER-226?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Niklas Gustavsson updated FTPSERVER-226:
----------------------------------------
Affects Version/s: (was: 1.0.0-M3)
1.0.0-M4
> DELE command deletes directories
> --------------------------------
>
> Key: FTPSERVER-226
> URL: https://issues.apache.org/jira/browse/FTPSERVER-226
> Project: FtpServer
> Issue Type: Bug
> Components: Core
> Affects Versions: 1.0.0-M4
> Reporter: Sai Pullabhotla
> Fix For: 1.0.0-RC1
>
>
> DELE command should NOT delete the object if the argument represents a directory. According to the FTP Standards RMD command should be used for deleting directories.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.