Sysax Product Forums / Sysax FTP Automation / Bugs and Feature Requests / Datetimed Log File Doesn't appear to work
Posted:  28 Sep 2009 18:16
I'm trying to generate a time-stamped log file, but it doesn't appear to work. It just gets labeled as the normal transfer.log:

sysaxftp -script "C:\\transfer.fscr" -tslogfile "M:\\Management\Reports\IT\FTPLogs\transfer.log"
Posted:  29 Sep 2009 09:21   Last Edited By: sysaxsupport
using just the -log option should provide you a timestamped output. Are you not able to see timestamps at all?


------------------------------------------------
SFTP Server for Windows
Posted:  29 Sep 2009 13:26
There are timestamps within the log, but do none of them provide a log name that is timestamped?
Posted:  29 Sep 2009 14:03
Also, when I add the -append option, no log file is created.
Posted:  01 Oct 2009 21:15   Last Edited By: sysaxsupport
Yes, the name of the logfile itself is not timestamped.

What is the complete command line you are using with -append ?



------------------------------------------------
Windows SFTP Server
Posted:  07 Oct 2009 15:04
sysaxftp -script "C:\\transfer.fscr" -tslogfile -append "M:\\Reports\IT\FTPLogs\transfer.log"
Posted:  07 Oct 2009 15:41   Last Edited By: sysaxsupport
Can you try using this instead:

ysaxftp -script "C:\\transfer.fscr" -tslogfile "M:\\Reports\IT\FTPLogs\transfer.log" -append


--------------------------------------------------
Proven solutions to securely automate FTP
 

Copyright © 2021 Codeorigin, LLC - All Rights Reserved.
XML RSS 2.0 XML Atom 1.0