Notice: This forum has been recovered from an old backup, so some content, links, and dates may be outdated. The forum is currently read-only while we restore sign-in and registration functionality. Details

If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.

Directory Watcher

If you have a question or need help, this is the place to be.
Post Reply
kricker
Experienced User
Posts: 147
Joined: Thu Oct 12, 2006 5:49 am
Contact:

Directory Watcher

Post by kricker »

I added the Directory Watcher plugin to my atuostart group. I set the folder to my torrent download folder. I want to monitor this folder and perform an action when a file appears and becomes unlocked by utorrent. Is there a way to monitor when a file becomes unlocked by another process?
CollinR
Experienced User
Posts: 265
Joined: Tue Sep 05, 2006 7:16 am
Location: Oklahoma
Contact:

Re: Directory Watcher

Post by CollinR »

Never tried it but I'm thinking you may need a combination of some scripting and a SysInternals tool called NTHandle.

http://technet.microsoft.com/en-us/sysi ... 96655.aspx

Basically you would need to run handle against your path and then do something with it's results.
User avatar
Livin
Experienced User
Posts: 792
Joined: Wed Oct 08, 2008 4:56 am

Re: Directory Watcher

Post by Livin »

An easier way might be to use uTorrent's built-in move feature.

Once the torrent has completed the DL, uTorrent will move it to a specified directory... then you can have Watcher do what you need to it.

and/or you can set uT to append .!ut to incomplete files... then have Watcher do something with them once they no longer end with .!ut
setup... XBMC, W7MC for DVR & Live OTA TV, JRMC for multi-zone audio, EG, MiCasaVerde Vera3, USB-UIRT IR receiver, Harmony remote, 5.2 home theater system
kricker
Experienced User
Posts: 147
Joined: Thu Oct 12, 2006 5:49 am
Contact:

Re: Directory Watcher

Post by kricker »

Livin wrote:An easier way might be to use uTorrent's built-in move feature.

Once the torrent has completed the DL, uTorrent will move it to a specified directory... then you can have Watcher do what you need to it.

and/or you can set uT to append .!ut to incomplete files... then have Watcher do something with them once they no longer end with .!ut
Sure it moves the file to the directory (which is what I am doing), but the file is still seeding and therefore locked by utorrent. I only want to move the files when they are done seeding.
Post Reply