You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Raghavendra (JIRA)" <ji...@apache.org> on 2016/04/25 16:56:12 UTC

[jira] [Created] (VFS-599) Duplicate FileCreated events are getting fired when copying the same file over and over

Raghavendra created VFS-599:
-------------------------------

             Summary: Duplicate FileCreated events are getting fired when copying the same file over and over
                 Key: VFS-599
                 URL: https://issues.apache.org/jira/browse/VFS-599
             Project: Commons VFS
          Issue Type: Bug
    Affects Versions: 2.0
         Environment: Development
            Reporter: Raghavendra
         Attachments: FilePoller.java

Hi Team,
We have implemented a FilePoller class which polls a particular directory and moves the files to some other directory upon receipt of the files.

It is working fine in both Windows and RHEL when we drop different files in the affected directory. However, when we copy the same file over and over it is creating duplicate "fileCreated" events and duplicate events are failing because the original event is moving the files to different directory by the time duplicate event gets fired automatically.

I have attached the Java class which is implemented. 

Please check and suggest us an approach to avoid this.

Thanks,
Raghavendra



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)