You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ftpserver-dev@incubator.apache.org by "Niklas Gustavsson (JIRA)" <ji...@apache.org> on 2007/08/07 21:55:59 UTC

[jira] Closed: (FTPSERVER-102) Incorrect response code on MKD

     [ https://issues.apache.org/jira/browse/FTPSERVER-102?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Niklas Gustavsson closed FTPSERVER-102.
---------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.0-M2
         Assignee: Niklas Gustavsson

Thanks for reporting! Should now fixed.

commit -m "Fixed issue where we returned the wrong success code on MKD (FTPSERVER-102)" C:/home/niklas/workspaces/apache/ftpserver/core/src/java/org/apache/ftpserver/command/MKD.java C:/home/niklas/workspaces/apache/ftpserver/core/src/java/org/apache/ftpserver/message/FtpStatus.properties
    Sending        C:/home/niklas/workspaces/apache/ftpserver/core/src/java/org/apache/ftpserver/command/MKD.java
    Sending        C:/home/niklas/workspaces/apache/ftpserver/core/src/java/org/apache/ftpserver/message/FtpStatus.properties
    Transmitting file data ...
    Committed revision 563671.

> Incorrect response code on MKD
> ------------------------------
>
>                 Key: FTPSERVER-102
>                 URL: https://issues.apache.org/jira/browse/FTPSERVER-102
>             Project: FtpServer
>          Issue Type: Bug
>          Components: Core
>         Environment: not applicable
>            Reporter: Hans Aikema
>            Assignee: Niklas Gustavsson
>            Priority: Minor
>             Fix For: 1.0-M2
>
>         Attachments: FtpStatus.properties, MKD.java
>
>
> The MKD (makedir) command issues a response-code 250 upon success.
> According to RFC 959 (http://www.ietf.org/rfc/rfc0959.txt) the MKD command should issue a 257 upon success
> affects org.apache.ftpserver.command.MKD.java and org/apache/ftpserver/message/FtpStatus.properties
> note: FtpStatus_zh-tw.properties already lists the correct success response code for MKD, However it will never be found by the FTPServer since it's looking for the message for response-code 250 on the MKD command

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.