[jira] [Resolved] (VFS-252) [SMB] SmbFileObject does not support setLastModifiedTime while jcifs supports it

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Resolved] (VFS-252) [SMB] SmbFileObject does not support setLastModifiedTime while jcifs supports it

Gary D. Gregory (Jira)

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

Gary D. Gregory resolved VFS-252.
---------------------------------

    Resolution: Fixed

Committed revision 1339008.
               

> [SMB] SmbFileObject does not support setLastModifiedTime while jcifs supports it
> --------------------------------------------------------------------------------
>
>                 Key: VFS-252
>                 URL: https://issues.apache.org/jira/browse/VFS-252
>             Project: Commons VFS
>          Issue Type: Improvement
>    Affects Versions: later
>            Reporter: Gerrit Cap
>            Priority: Critical
>             Fix For: 2.1
>
>   Original Estimate: 5m
>  Remaining Estimate: 5m
>
>     VFS-252
> SmbFileObject does not support setLastModifiedTime while jcifs supports it, it is critical for a backup application that checks the last modified time stamp to check which files needs to be updated
>     /**
> * @throws Exception
>      * @see org.apache.commons.vfs.provider.AbstractFileObject#doSetLastModifiedTime(long)
> */
> protected boolean doSetLastModTime(long modtime) throws Exception {
> file.setLastModified(modtime);
> return true;
> }

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira