|
|
Files are only processed when they have finished being written to disk - so huge video files will not be processed prematurely. Incoming files can be processed individually, or grouped together. File Watcher can process only those files that match a filespec (e.g. '*.txt;*.html') and ignore all other files that might arrive at the same time. It can also watch multiple folders at the same time (subfolders are handled with a checkbox). File Watcher can also prevent triggering new actions while an old action is still running. File Watcher can be configured to watch for new files, updates and deletes, or any combination of the these. See the extensive help file for many more examples. How to use File WatcherUsage: Running File Watcher as a ServiceFile Watcher does not run as a service. Sending an Email with File WatcherTo send an email from File Watcher, you need to use a command-line email program. We STRONGLY recommend you do NOT search for a free download of sendmail.exe - these are 99% guaranteed to contain a virus. Instead, please download from our partner at Absolute Tools, http://www.abspdf.com/products_toolsendmailcmd.html Running File Watcher on RebootTo run File Watcher on reboot, just copy the FileWatcher shortcut to the Programs\Start Up folder, and customize the start-up parameters. Upload Files via FTP as they changeThis is one of FileWatcher's key uses here at DataMystic. You can find all these files in this zip file As we change web files, FileWatcher detects them, bundles them into a file list every 5 minutes and uploads them. We us
Settings:Folders to Watch TabFolder to watch: c:\bp\public_html\crystal - the root of our website Watch subfolders: Yes File types: *.* - we can also use TextPipe later to strip out file types we don't want like _vti_cnf files. Second to wait: 300 ie 5 minutes, so we FTP a group of files every 5 minutes Actions: New and Updated Files
Settings:Actions TabCommand- C:\Program Files\DataMystic\FileWatcher\ftp_upload.bat - this is included in the FileWatcher distribution Parameters - "%filelist%" - this causes a file list to be created Disable if already running - Yes
We use TextPipe (Lite, Standard or Pro) to massage the filename into a form suitable for Windows' FTP client (prepare_ftp.fll). The batch file ftp_upload.bat oversees the whole process.
ftp_upload.bat: @echo off
|