开发者

Perl POE DirWatcher

Can someone tell me if POE::Component::DirWatch works with an ftp directory .show me how you would watch a director开发者_Go百科y over ftp


  1. No it won't.

  2. FTP servers don't have any sort of notification method, so the only way you could do this would be to periodically run a LIST command on the remote directory and note any changes. Extra helpfully, there is no true standard for the format of the listing returned by LIST. Anyway, if you wanted to go this route, you could start with PoCo-Client-SimpleFTP and write a new component that emits events when files change on the remote server. Strong knowledge of FTP is recommended.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜