Authored by GASTRIC - please share freely!!! Tested to function on WinXP only, though it should work on all Windows platforms.
uTorrent cannot successfully monitor network shares for new torrents. Thus it cannot successfully auto-load new torrents from these network shares.
In my environment I have a home server running that manages all of the network shares/storage/backups/etc. and a small Virtual Machine (VM) purely to download torrents. However, the VM has no direct access to the server drives it's running on, and the network torrent directory is on the server, thus the VM has to access the actual .torrents via shares like all other machines on the network. And so I cannot have the VM reliably auto-load the torrents from the network share. Whew! What a dilema. :)
Use these scripts to automatically copy torrents from network shares to your local drive. Then uTorrent can always successfuly auto-load the torrents for you since it has absolutely no problem reliably auto-loading torrents from local drives. Bingo!
Extract all files to the same directory on the computer running uTorrent. Then do the following:
1. Open uTorrent directories preferences, check 'automatically load .torrents from' and choose a local directory such as C:\torrents
2. Modify the VARIABLES in the SET section of the .BAT file to match your directories (otherwise it won't work). You can edit the .BAT in Notepad.
3. Place a shortcut to the .BAT file in your Startup folder so it automatically runs at Windows startup
4. Configure the shortcut properties to 'Run minimized' if you desire so it will sit quietly in your Taskbar
Note that running the .BAT file will cause a Command Prompt window to always be running on your computer. It will visibly log it's activity in case you want to check the window for what it's up to. However, if you close/exit the Command Prompt window the .BAT will no longer be running, thus no longer monitoring your torrents.
If you wish to run the .BAT file invisibly, you can configure the .VBS file to run at Windows startup instead of the .BAT The .VBS simply runs the .BAT for you, but you will not physically see the .BAT running. The advantage using the .VBS is that it cannot be accidentally closed since it is not at all visible. This disadvantage is you now have no way to turn it off as it doesn't appear as a running program. You would have to remove it from Startup, then restart Windows.
Note I'm absolutely, positively NOT a computer programmer. So there very well could be a much better way to accomplish this same task. Or even a better way to construct the code in the .BAT script. But it appears to work, and work well, so I'm sharing.
HERE IS THE CONTENTS OF THE .BAT FILE SCRIPT. YOU CAN SIMPLY COPY-PASTE INTO A TEXT FILE AND RENAME IT AS <filename>.BAT
REM AUTHORED BY GASTRIC - PLEASE SHARE FREELY
REM UTORRENT CANNOT SUCCESSFULLY MONITOR TORRENTS FROM A NETWORK SHARE
REM THIS SCRIPT MONITORS A NETWORK DIRECTORY FOR NEW TORRENTS AND MOVES THEM TO A LOCAL DIRECTORY SO UTORRENT CAN SUCCESSFULLY AUTO-LOAD THEM
REM TO USE THIS SCRIPT DO THE FOLLOWING
REM 1. Open uTorrent directories preferences, check 'automatically load .torrents from' and choose a local directory such as C:\torrents
REM 2. Place this .BAT file on your local hard drive, such as C:\torrents
REM 3. Place a shortcut to this .BAT file in your Startup folder so it automatically runs at Windows startup
REM 4. Configure the shortcut properties to 'Run minimized' if you desire
REM 5. Modify the VARIABLES in the SET section below to match your directories
REM THE NETWORK DIRECTORY YOU NEED TO MONITOR, CAN BE UNC OR MAPPED DRIVE LETTER, MAKE SURE TO LEAVE THE *.TORRENT ON THE END
SET NETWORK_DIRECTORY="\\server\auto LOAD TORRENTs\*.TORRENT"
REM THE LOCAL DIRECTORY YOU WANT TO MOVE THE TORRENTS TO
REM THE LENGTH OF TIME BETWEEN EACH CYCLE OF CHECKING THE NETWORK DIRECTORY, DEFAULT IS 15 SECONDS
ECHO MONITORING FOR NEW TORRENTS... PLEASE WAIT...
IF EXIST %NETWORK_DIRECTORY% GOTO PROCESS_FILES
IF NOT EXIST %NETWORK_DIRECTORY% GOTO DONT_PROCESS_FILES
ECHO FOUND NEW TORRENTS! MOVING FROM NETWORK TO LOCAL DRIVE FOR PROCESSING
move %NETWORK_DIRECTORY% %LOCAL_DIRECTORY%
@ping 127.0.0.1 -n %PAUSE_TIME% -w 1000> nul