WatchDirectory home page
WatchDirectory Startseite (Deutsche Version)
Site WatchDirectory (Français)
  Welcome, Guest. Please Login or Register
YaBB - Yet another Bulletin Board
   
  HomeHelpSearchLoginRegister  
 
Page Index Toggle Pages: 1
WatchDirectory v4.7 beta 1 (Read 16939 times)
Gert
YaBB Administrator
*****
Offline



Posts: 2371
The Netherlands
WatchDirectory v4.7 beta 1
Nov 5th, 2012 at 9:02am
 
WatchDirectory 4.7 Beta 1

We have a new beta available for WatchDirectory v4.7.

New in this beta:
A new implementation of the System.Mail component which allows secure SMTP connections (SSL or TLS).
The FTP plugin automatically resumes the upload when it is interrupted.
The dynamic function {code{dllname,parameters}} now also allows you to call a batch script.


Download/Install
see last post for download
Just install this beta release "on top" of your current install so it will keep your tasks and settings.



New Email implementation
The beta has a totally new implementation of the email component, but it uses the "old implementation" by default.
Note: When v4.7 is released, the old email implementation will be removed.
If you want to test the new implementation, edit your email settings and check the option "Use beta implementation for email".


Using a Batch script for {dynamic naming}
The scripts you write MUST be inside the directory
<Install Directory>\Resolvers (typically "C:\Program Files (x86)\WatchDirectory\Resolvers")
If you save the below example script as "appendNewXX.bat", you can use the following dynamic name as the target file for "Copy":
C:\Target\{code{appendNewXX.bat,}}

Here is an example batch script you can use. Note besides the environment variables listed here http://www.watchdirectory.net/wdhelp/plugins/wdopAutoRunBatEnv.html
the following variables are also available:
WD_FILTERRESULT - this variable contains the name of an output file. The script should write its result to this file.
WD_CALLEDFROMSETUP - If this variable contains Y it means the script is called from the WatchDirectory Control Center, otherwise it is called by the real task.

The example script below checks if the detected file already exists in the target directory. If it does NOT exist the script tells WatchDirectory to use the filename "as is".
If it does exist, it returns a name like "NEWxx_originalfilename" where "xx" is a number starting at 01.

Code:
SET TARGETDIR=C:\Target

SET FILETOCHECK=%TARGETDIR%\%WD_FILE_N%
SET RESULTFILE=%WD_FILE_N%
IF NOT EXIST "%FILETOCHECK%" GOTO :FileDoesNotExist

SET COUNTER=0

:NextCounterCheck
SET /A COUNTER=%COUNTER% + 1
Call :PrependZeroes
SET RESULTFILE=NEW%RSLT%_%WD_FILE_N%
SET FILETOCHECK=%TARGETDIR%\%RESULTFILE%
IF NOT EXIST "%FILETOCHECK%" GOTO :FileDoesNotExist
GOTO :NextCounterCheck

:PrependZeroes
SET RSLT=%COUNTER%
IF %COUNTER% GEQ 10 GOTO :EOF
SET RSLT=0%COUNTER%
GOTO :EOF

:FileDoesNotExist
ECHO %RESULTFILE% > "%WD_FILTERRESULT%"
GOTO :EOF
 


Back to top
« Last Edit: Jan 30th, 2013 at 10:49am by Gert »  

Gert Rijs - gert (at) gdpsoftware (dot) com
Blog: http://blog-en.gdpsoftware.com/
End Alzheimer's: http://www.alz.org&&...
WWW WWW GdPSoftware  
IP Logged
 
Gert
YaBB Administrator
*****
Offline



Posts: 2371
The Netherlands
Re: WatchDirectory v4.7 beta 2
Reply #1 - Jan 30th, 2013 at 10:53am
 
Here is a new beta for WatchDirectory.
This beta will now use the new email implementation by default. You can still disable this (and use the old implementation) in the email settings (double-click System.Mail).
By request, the "Create HTML" task now also supports png, bmp and gif files (in addition to jpg).
When you use the "Combine" option for an email task you can limit the number of emails to be combined.

Download/Install
see the bottom post for the download link
Back to top
« Last Edit: May 30th, 2013 at 8:51am by Gert »  

Gert Rijs - gert (at) gdpsoftware (dot) com
Blog: http://blog-en.gdpsoftware.com/
End Alzheimer's: http://www.alz.org&&...
WWW WWW GdPSoftware  
IP Logged
 
Gert
YaBB Administrator
*****
Offline



Posts: 2371
The Netherlands
Re: WatchDirectory v4.7 beta 5
Reply #2 - May 30th, 2013 at 8:58am
 
Beta 5 for WD v4.7 is released (a few "in between" betas were private).

Some of the changes include
* This new beta supports Win2000 and Win2003 (without service packs) again.
* When the upload (ftp) task disconnects it will always send a QUIT command.
* When alerts are sent for a problem, the detected filename will be included in the message.
* When a task is stopped and it still has events to be processed "in memory", those events will fire the next time the task is started.

Download/Install
See the last post below.
Back to top
« Last Edit: Jun 15th, 2013 at 11:00am by Gert »  

Gert Rijs - gert (at) gdpsoftware (dot) com
Blog: http://blog-en.gdpsoftware.com/
End Alzheimer's: http://www.alz.org&&...
WWW WWW GdPSoftware  
IP Logged
 
Gert
YaBB Administrator
*****
Offline



Posts: 2371
The Netherlands
Re: WatchDirectory v4.7 beta 6
Reply #3 - Jun 15th, 2013 at 11:06am
 
We have a new beta for WatchDirectory v4.7

New in this beta:
* 2 new {tags} are added: {isoweek} and {isoyearweek}. Those "iso" tags use the official ISO method to calculate the week number. See http://en.wikipedia.org/wiki/ISO_week
* A new plugin to automatically upload files to Amazon's Simple Storage Service (better known as Amazon S3).

Back to top
« Last Edit: Aug 19th, 2013 at 7:09am by Gert »  

s3.png (22 KB | )
s3.png

Gert Rijs - gert (at) gdpsoftware (dot) com
Blog: http://blog-en.gdpsoftware.com/
End Alzheimer's: http://www.alz.org&&...
WWW WWW GdPSoftware  
IP Logged
 
Gert
YaBB Administrator
*****
Offline



Posts: 2371
The Netherlands
Re: WatchDirectory v4.7 beta 1
Reply #4 - Aug 19th, 2013 at 7:09am
 
WatchDirectory v4.7 beta 8

This new beta includes the following enhancements:
- A new history viewer that should be easier to use. This new viewer will start by default, but you can still start the old viewer. Which viewer is launched can be set on the menu "View -> Options -> History".
- The "Copy" task has a new option "Slow Copy" that will insert short delays while copying a file.
- The "Copy" task has a new option "Paranoid Copy" that will perform a byte-by-byte check of the copied file. If there is a mismatch the file will be copied again.
Back to top
« Last Edit: Nov 20th, 2013 at 7:56am by Gert »  

Gert Rijs - gert (at) gdpsoftware (dot) com
Blog: http://blog-en.gdpsoftware.com/
End Alzheimer's: http://www.alz.org&&...
WWW WWW GdPSoftware  
IP Logged
 
Gert
YaBB Administrator
*****
Offline



Posts: 2371
The Netherlands
Re: WatchDirectory v4.7 beta 1
Reply #5 - Nov 20th, 2013 at 7:57am
 
WatchDirectory v4.7 beta 9

This will probably be the last beta before we release v4.7.

This new beta has a few small fixes for Backup/Restore/Zip and Unzip.

Back to top
« Last Edit: Dec 29th, 2013 at 10:13am by Gert »  

Gert Rijs - gert (at) gdpsoftware (dot) com
Blog: http://blog-en.gdpsoftware.com/
End Alzheimer's: http://www.alz.org&&...
WWW WWW GdPSoftware  
IP Logged
 
Gert
YaBB Administrator
*****
Offline



Posts: 2371
The Netherlands
Re: WatchDirectory v4.7 beta 1
Reply #6 - Dec 29th, 2013 at 10:13am
 
Back to top
 

Gert Rijs - gert (at) gdpsoftware (dot) com
Blog: http://blog-en.gdpsoftware.com/
End Alzheimer's: http://www.alz.org&&...
WWW WWW GdPSoftware  
IP Logged
 
Page Index Toggle Pages: 1