[ 
https://issues.apache.org/jira/browse/CONNECTORS-1429?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16034375#comment-16034375
 ] 

Julien Massiera edited comment on CONNECTORS-1429 at 6/2/17 9:28 AM:
---------------------------------------------------------------------

Beware, the patch contains tab spaces, I did not have time to replace them by 
normal spaces.

This modification test the JCIFS lib to find the methods allowing to get and 
set the last access time of crawled files.
If the methods are available, a checkbox in the connector's configuration is 
available to perform crawls that re-set the original last access time of files.
If the methods are not available, the checkbox is disabled and shows that the 
feature is not available (can be changed to fully hide the checkbox)



was (Author: julienfl):
Beware, the patch contains tab spaces, I don't had time to replace them by 
normal spaces.

This modification test the JCIFS lib to find the methods allowing to get and 
set the last access time of crawled files.
If the methods are available, a checkbox in the connector's configuration is 
available to perform crawls that re-set the original last access time of files.
If the methods are not available, the checkbox is disabled and shows that the 
feature is not available (can be changed to fully hide the checkbox)


> Windows shares crawl - preserve last access time
> ------------------------------------------------
>
>                 Key: CONNECTORS-1429
>                 URL: https://issues.apache.org/jira/browse/CONNECTORS-1429
>             Project: ManifoldCF
>          Issue Type: Wish
>          Components: JCIFS connector
>    Affects Versions: ManifoldCF 2.6
>            Reporter: Julien Massiera
>            Priority: Minor
>         Attachments: CONNECTORS-1429.patch
>
>
> Google has released a modification of the JCIFS lib that contains new methods 
> to get and set the last acces time of files: 
> https://github.com/googlegsa/filesystem.v3/tree/master/projects/jcifs
> It would be nice to take advantage of this and propose in the JCIFS connector 
> an option to preserve the last access time of the crawled files if the JCIFS 
> lib allows it.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to