Skip to content

最新版2.5.4 不能监控到目录下的文件生成事件 #71

Description

@GoogleCodeExporter
配置文件
 <inotify>
    <delete start="false"/>
    <createFolder start="false"/>
    <createFile start="false"/>
    <closeWrite start="true"/>  # 只监听文件生成事件
    <moveFrom start="false"/>
    <moveTo start="false"/>
    <attrib start="false"/>
    <modify start="false"/>
    </inotify>
Sersync 监控 /opt/ftproot 目录
ftpserver 的根目录是 /opt/ftproot
当用ftp工具拖一个目录(目录下有若干文件)到ftp根目录下 
,当上传成功后 获取不到 文件生成消息。当把<createFolder 
start="false"/> 改为 <createFolder start="true"/> 时 
可以接收到文件和目录生成消息。
但是我只想获得文件生成消息不想获取目录生成消息怎么办��
�?,这个是不是BUG呢?按道理说<closeWrite 
start="true"/>后应该能收到消息的,为什么用ftp工具拖一个目录
(目录下有若干文件)到ftp根目录下就获取不到消息了呢?

Original issue reported on code.google.com by a791...@gmail.com on 12 Aug 2014 at 8:30

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions