Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
GoogleCodeExporter opened this issue Sep 5, 2015 · 0 comments
Open

Comments

@GoogleCodeExporter
Copy link

配置文件
 <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 [email protected] on 12 Aug 2014 at 8:30

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

No branches or pull requests

1 participant