You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Jiri Kuhn (JIRA)" <ji...@apache.org> on 2009/03/20 09:20:51 UTC

[jira] Commented: (FTPSERVER-253) Enhance the Ftplet.afterCommand to provide more information about the result of command execution

    [ https://issues.apache.org/jira/browse/FTPSERVER-253?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12683790#action_12683790 ] 

Jiri Kuhn commented on FTPSERVER-253:
-------------------------------------

The current API is really too simple. If you want to do an action with an uploaded file (which is quite common, I think), you need its name. But the STOU command provide no way how to pass generated unique file name to a ftplet. 

This issue should be solved soon. It degrades the power of ftplets.

> Enhance the Ftplet.afterCommand to provide more information about the result of command execution
> -------------------------------------------------------------------------------------------------
>
>                 Key: FTPSERVER-253
>                 URL: https://issues.apache.org/jira/browse/FTPSERVER-253
>             Project: FtpServer
>          Issue Type: New Feature
>          Components: Core, Ftplets
>            Reporter: Sai Pullabhotla
>             Fix For: 1.1
>
>
> It would be nice to enhance the afterCommand method in the Ftplet to provide additional details about the result of command execution. Currently the afterCommand method of an Ftplet is called back with the following parameters - 
> FtpSession, FtpRequest and FtpReply. The FtpReply parameter contains only the reply code and the reply string that was sent. The Ftplets may want to know a little more information on what exactly happened to the command that was executed. For example, the afterCommand for RNTO command might want to know the from file, the to file and if the command was successful or not. 
> More information on this can be found at http://www.mail-archive.com/ftpserver-users@mina.apache.org/msg00512.html. 

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