I would like to log all activity to a directory in which the log files are written in the format YYYYMMDD.log.
I thought it would be as simple as going to View->Options->General and the clicking the "Log all activity" checkbox and specifying a file name of C:\Logs\%Y%m%d.log. However, the name is taken literally and one file (%Y%m%d.log) is written to the log directory.
Is the functionality I am looking for exist?
Thank you.
Core FTP LE dynamic log file names?
Thank-you!
Great suggestion and great implementation. I like it.
Great stuff but how do I get t to work?
From my command line:
-output c:\batch\offsite_backup\output\%Y%m%d%H%M%S_Z_11us.log
That results in a file name of mHS_Z_11us.log in the specified directory.
What did I do wrong? Build 1560...
-output c:\batch\offsite_backup\output\%Y%m%d%H%M%S_Z_11us.log
That results in a file name of mHS_Z_11us.log in the specified directory.
What did I do wrong? Build 1560...
re new update,
I'll need to test it, been out of the office and will be out most of the next month. I won't forget this though...and I'll reply here once it's tested.
User error
Gee it's been a long time, but I finally was able to play around with this. I found my problem and perhaps my mistake will help others.
It I typed the coreftp command into a cmd window, the time substitutions worked fine. However when I'd use the commands in a .bat file all I'd get was the from the string %Y%m%d%H%M%S would be mHS in the file name.
I finally figured out that in a .bat file I need the string below:
%%Y%%m%%d%%H%%M%%S
I'm sure the experienced DOS script writers wouldn't have made this mistake.
Todd
It I typed the coreftp command into a cmd window, the time substitutions worked fine. However when I'd use the commands in a .bat file all I'd get was the from the string %Y%m%d%H%M%S would be mHS in the file name.
I finally figured out that in a .bat file I need the string below:
%%Y%%m%%d%%H%%M%%S
I'm sure the experienced DOS script writers wouldn't have made this mistake.
Todd