[ https://issues.apache.org/jira/browse/FTPSERVER-232?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
David Latorre resolved FTPSERVER-232. ------------------------------------- Resolution: Fixed Fix Version/s: (was: 1.0.0-M4) 1.0.0-RC1 Assignee: David Latorre Fix will be provided for 1.0.0-RC1. > MFMT command always returns a 2XX reply even if the date could not be set > ------------------------------------------------------------------------- > > Key: FTPSERVER-232 > URL: https://issues.apache.org/jira/browse/FTPSERVER-232 > Project: FtpServer > Issue Type: Bug > Components: Core > Affects Versions: 1.0.0-M3 > Reporter: Sai Pullabhotla > Assignee: David Latorre > Fix For: 1.0.0-RC1 > > > MFMT command always returns a 2XX reply even if the date could not be set. > MFMT Command should return a Positive Completion Reply if and only if we are > sure that the date on the file was modified. In order to fix this, we need to > make use of the return value from java.io.File.setLastModified(long). We are > not using the returned boolean from this method and assuming that the new > date was set. Code needs to be changed in a few places to fix this. The issue > can be reproduced by trying to set the date on a file that is in use. I used > a .doc file, had it open in MS Word and ran the MFMT command and got the 213 > reply, but the date on the file was not changed. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.