Luke Wood created VFS-814:
-----------------------------
Summary: FtpFileObject: re-fetch MDTM after refresh
Key: VFS-814
URL: https://issues.apache.org/jira/browse/VFS-814
Project: Commons VFS
Issue Type: Bug
Affects Versions: 2.9.0, 2.8.0
Reporter: Luke Wood
{{FtpFileObject.getTimestampMillis}} stores last modification time using
{{{}FTPFile.setTimestamp{}}}.
{{doDetach()}} nulls out the underling {{{}FTPFile{}}}, but doesn't set
{{mdtmSet = false}} this means later calls to
{{FtpFileObject.getTimestampMillis}} fail to refresh mdtm and default to LIST
timestamp.
Suggested fix:
Add {{mdtm = false}} to {{FtpFileObject.doDetach()}}
--
This message was sent by Atlassian Jira
(v8.20.1#820001)