HiTek Software Home
 
Subject How to setup the filename field to find this format - access.log.yyyyppddhhmm
Version 6.x
Date   07/22/2007
Message Hi, 
I have web log files in this format access.log.yyyyppddhhmm.
How can I setup the ftp tasks variables to understand this log format? 
If we use the wildcard e.g. access.log.yyyyppdd*, will this work? 
Maybe if you can send me a sample, that would be great. Below is an example of my log file. 
Thanks. 
access.log.200403232100
Reply1 Hi Hoang, 
Thanks for using Automize. 
You need to use variable for the filename: 
filename = access.log.$%DATE::YYppdd%$ 
this will pick up all todays logs. 
if you use: filename = access.log.$%DATE::YYpp%$ this will pick up all this months logs 
-- Sincerely,  Hitek Software
Reply2 Hi, 
Thank you. This works great.
Reply3
Reply4
Reply5