Posted: 2014-07-14 19:03
Have a question regarding the WINSCP log file creation when scripting. We run a large number of scripts every day. We appear to have an intermittent problem with FTP's failing. When investigating, the log file from WINSCP is extremely large (close to 1GB) and can't even be opened. I've deleted the log file and then reran the script successfully. The log file the 2nd time (successful execution) is still extremely large.
I've done an analysis of our scripts and found examples where we have 2 identical scripts (except for the file name being sent) connecting to the same location, same log file parameters etc.... The one script creates a log file of 1,164KB the other 451,832KB. I don't understand how there can be such a discrepancy in the log file sizes. Can this be caused by multiple scripts running at the same time? Each script writes to a different log file name.
Here are the 2 scripts I mentioned above:
winscp.exe /script=E:\ESP\Scripts\FTPCNTL\BLKFTPGT.txt /log=e:\esp\scripts\logs\BLKFTPGT.txt
winscp.exe /script=E:\ESP\Scripts\FTPCNTL\BLKFTPET.txt /log=e:\esp\scripts\logs\BLKFTPET.txt
I'm at a loss... Any help, ideas would be appreciated.
Location: Prague, Czechia
Are the scripts running under the same local account? If they are not, it can be that one account has debug logging configured:
Otherwise, it's difficult to help you without seeing at least a snippet of the logs.
You can post new topics in this forum
And it's free!