On our forum we have a first beta available for WatchDirectory v4.8.7. The new version has several improvements when monitoring directories where files have "illegal names". More information and the download link are in this forum post.
News, tips, tricks on our programs WatchDirectory, WatchFTP and WxRemote.
On our forum we have a first beta available for WatchDirectory v4.8.7. The new version has several improvements when monitoring directories where files have "illegal names". More information and the download link are in this forum post.
WatchDirectory v4.7 and higher have support for filter scripts, run a little batch script to decide if a detected file should be processed by a task. This is a new option on the Filter Events settings of your task.
Before this new feature was introduced you could only filter based on (parts of) the filename or folder where the file was detected. For example "only run the task for files that match *.txt". The new filter script option gives you far more flexibility, your script receives all information about the detected file in Environment Variables and can, for example, check the contents of the detected file to decide wether the task should continue processing the file.
Several example filter scripts can be found inside the directory <Install Directory>\ExampleFilterScripts (typically C:\Program Files (x86)\watchDirectory\ExampleFilterScripts).
A client was monitoring a directory where log files are created by an automated nightly process. Most log files are of no interest but sometimes one or two files contain error information and the client wants to be notified of those. He created a task using the Email plugin and enabled the option to attach the log file. Below is the filter script he used.
rem When called from the WatchDirectory Control Center, always process the "event" IF "%WD_CALLEDFROMSETUP%" EQU "Y" GOTO :SayYes rem use FINDSTR to check the contents of the file FINDSTR /I "Error" "%WD_FILE%" IF %errorlevel% EQU 0 GOTO :SayYes rem this is not an error log, tell the task to ignore the event GOTO :SayNo :SayYes ECHO Y > "%WD_FILTERRESULT%" GOTO :EOF :SayNo ECHO N > "%WD_FILTERRESULT%" GOTO :EOF
Do not perform any heavy processing inside those scripts. If your script takes a long time to finish the WatchDirectory task will abort. A few seconds is okay, 10 seconds is not.
Make sure your script always writes its result (the single character Y or N) to the result file
We just released version 1.9.1 of WxRemote. This release fixes a problem that caused the WxListener component to crash.
If you have version 1.9 installed (released last month), we recommend you to upgrade to this new release as soon as possible.
This free upgrade to version 1.9.1 will show the current activity of your WatchDirectory and WatchFTP tasks. Full details in this blogpost.
Download the new version from the WxRemote home page.
We just released a small update for our File Monitor program WatchDirectory. New and improved in this release:
If you are running any v4.x version of WatchDirectory, this is a free update for you. Just install the new version "on top" of your current install and it will keep all your current settings and tasks. Download the new version here.
This new version of WxRemote can show the last messages of your WatchDirectory and WatchFTP tasks. The Windows program (Wx Remote Control Center) by default shows you the very last message, click that message to see the last few 100 messages of a task. The web interface has similar functionality.
To support this new functionality you need to run version 4.8 of WatchDirectory and version 3.6 of WatchFTP (see below). After you install the new version of WxRemote, make sure to configure the new "Last Message" functionality on the computers where you run WxListener.
This is a free update for all WxRemote customers. Just install this new version "on top" of your existing install.
This new WatchDirectory version supports the new "Last Message" functionality of WxRemote (see above).
This is a free update for all WatchDirectory customers. Just install this new version "on top" of your existing install.
This new WatchFTP version supports the new "Last Message" functionality of WxRemote (see above). Further changes in this release:
This is a free update for all WatchFTP customers. Just install this new version "on top" of your existing install.
On our forum we have a new beta for our Directory Monitoring program WatchDirectory.
Please visit our forum for the download links.
On our forum we have a new beta for our FTP site monitoring program.
Please visit our forum for the download links.
A few days ago we released a major update for our FTP Monitor Program WatchFTP.
This is a free update for all customers. Just install the evaluation version on top of your current install so it will keep your settings and tasks. If you are upgrading a 32bit version to the 64bit version, make sure to read 64bit upgrade instructions first.
This new release has a new file compare engine. Previous versions compared the FTP site to your local Windows directory, this release maintains a small database with FTP file information. This allows you, for example, to email notifications without downloading the detected files.
Also new is a "what has changed" window. Select a date in the past and (typically) the current date and you will see everything that has changed (new files, deleted files...) between those dates.
Today we released v4.7.2 of WatchDirectory, our program to monitor folders and files.
Most important is a bug fix we implemented for the FTP Upload plugin. When a detected file was already present on the FTP server and is exactly the same size as the detected file and the connection to the FTP server was lost (or never established), the detected file would not be uploaded.
If you recently upgraded to WatchDirectory v4.7 and use the FTP Upload task, please install this new release.
See this post for more information on changes and fixes in the v4.7 release of WatchDirectory.
We just released a new version of WatchDirectory. This is a free upgrade for all WatchDirectory v4 customers.
The download is available here. If this is an upgrade from an older version, just install this new release "on top" of your current install so it will keep all settings and tasks.
For some time we have an
English Blog and a
deutscher Blog.
Today, we have added the
Blog en Español by Hans and
Blog Français by Jacob ("Jackadit").
Currently, there are only a few posts available, so I recommend to keep reading this English blog for most content.
This may be of interest for bat file programmers out there. This simple command-line tool can be used to split a path ("C:\Some\Path\To\Split\File.txt") into its separate components.
"C:\Bin\WDDirSplit.exe" "C:\Some\Path\To\Split\file.txt" "C:\temp\uniquefilename.bat" Call "C:\temp\uniquefilename.bat" Del "C:\temp\uniquefilename.bat"
The above command will write batch SET statements for all path components to "C:\temp\uniquefilename.bat". Please note that the bat file (2nd parameter) will be overwritten if it already exists.
The contents of the generated bat file for the above command is:
rem How many components were found in path "C:\Some\Path\To\Split\file.txt"
SET WD_DP_COUNT=5
rem WD_DP_1 has the first component ("Some"), WD_DP_2 the second...
SET WD_DP_1=Some
SET WD_DP_2=Path
SET WD_DP_3=To
SET WD_DP_4=Split
SET WD_DP_5=file.txt
rem WD_DPR_1 has the last component ("file.txt"), WD_DPR_2 the one before it..(R=Reversed)
SET WD_DPR_1=file.txt
SET WD_DPR_2=Split
SET WD_DPR_3=To
SET WD_DPR_4=Path
SET WD_DPR_5=Some
rem For conveniance: WD_DP_FIRST and WD_DP_LAST
SET WD_DP_FIRST=Some
SET WD_DP_LAST=file.txt