Post a reply

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: "Client Hostname" pattern for XML logs?

You can use COMPUTERNAME environment variable:
C:\Users\bfields\OneDrive\Documents\WinSCP\!S-%COMPUTERNAME%@.xml

https://winscp.net/eng/docs/local_path
WilliamFields

"Client Hostname" pattern for XML logs?

I occasionally run WinSCP from multiple workstations. The XML logs are configured with the same folder so I get conflicts when the two WinSCP instances try to write to the same log.

To keep my WinSCP configurations generic and consistent, it would be very helpful to have a "client hostname" pattern available. Perhaps !C@ would work.

For example:
C:\Users\bfields\OneDrive\Documents\WinSCP\!S-!C@.xml

That would create a log file with the session name and client hostname.

Thanks.