You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Gary D. Gregory (JIRA)" <ji...@apache.org> on 2012/05/16 07:12:12 UTC

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

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

Gary D. Gregory updated VFS-252:
--------------------------------

    Description: 
    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;
	}


  was:
    /**
	 * @throws Exception 
     * @see org.apache.commons.vfs.provider.AbstractFileObject#doSetLastModifiedTime(long)
	 */
	protected boolean doSetLastModTime(long modtime) throws Exception {
		file.setLastModified(modtime);
		return true;
	}


        Summary: SmbFileObject does not support setLastModifiedTime while jcifs supports it  (was: 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)
    
> 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