Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

Re: XML Log Not Appending in 4.24b

I've posted the link, because it is explained there how to put a date into log file name. It works from the command line the same way as from GUI.
Chad_C

Re: XML Log Not Appending in 4.24b

The documentation does not show any configuration settings specific to using a scripted WinSCP session. I see that appending an XML log is not supported. How then can I specify logging, non-XML, using a scripted WinSCP session?

Thanks for the support.
martin

Re: XML Log Not Appending in 4.24b

Please read documentation. If that does not help, come back.
Chad_C

XML Log Not Appending in 4.24b

I'm using a batch file to call WinSCP (with logging enabled. Each time the batch file is run, the XML log is written over. In other words, instead of the log getting appended with each new running of the batch file, it's completely over-written with new information.

Here is the batch file call:
winscp.exe /console /script=winscpscript.txt /log=winscplog.xml

Here are the contents of winscpscript.txt:
option batch abort
option confirm off
open BofA
option transfer binary
put achfile
exit

I would like to either maintain one log file or create log files based on the date if one log file is not possible.