commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mario Ivankovits (JIRA)" <>
Subject [jira] Commented: (VFS-78) DefaultFileMonitor does not register changes made on FTP FileObjects
Date Wed, 16 Aug 2006 07:39:14 GMT
    [ ] 
Mario Ivankovits commented on VFS-78:

The DefaultFileMonitor do not report renamings as renamings but as delete/create events.
This is due to the polling nature of DefaultFileMonitor, it cant know if the file was renamed,
even if you use VFS for this operation. It just compares snapshots of directory listings.

But even if you attach a listener to the FileObject itself a rename will be delivered as delete/create
events. There we might be able to improve the event stuff, but this might not be much of help
for you, no?

Back to your issue, don't you get the "create" event?

> DefaultFileMonitor does not register changes made on FTP FileObjects
> --------------------------------------------------------------------
>                 Key: VFS-78
>                 URL:
>             Project: Commons VFS
>          Issue Type: Bug
>    Affects Versions: Nightly Builds
>         Environment: WinXP, java  version "1.5.0_06", commons-vfs nightly 20060814
>            Reporter: Patrick Schulz
> I don't know if it is a bug or a feature, but DefaultFileMonitor does not report a renaming
of a folder ie.
> It is signaled as a deletion event, but the folder was renamed.
> So it is also not possible to register then any changes made in this subfolder until
you renamed it again.
> The URL was something like ftp://ftp.server/incoming/ and the Monitor was started being

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message