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

DevNull43 commented on FTPSERVER-350:
-------------------------------------

Whetever you write to session session.custom will be displayed if 
org/apache/ftpserver/message/FtpStatus.properties has a {session.custom} 
variable in the desired command.

Example to set variable from session:

long time = System.currentTimeMillis();
session.setAttribute("session.custom", "test " + time);

> Custom reply messages
> ---------------------
>
>                 Key: FTPSERVER-350
>                 URL: https://issues.apache.org/jira/browse/FTPSERVER-350
>             Project: FtpServer
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 1.0.3
>            Reporter: DevNull43
>            Priority: Minor
>             Fix For: 1.1.0
>
>         Attachments: customVariable.txt
>
>
> Enhance reply commands to include custom messages.
> Initial approach is to store this messages in session.

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

Reply via email to