Topic "Windows username in log file name"

Author Message
Vikitorony
[View user's profile]

Joined: 2016-06-10
Posts: 2
That would be really nice if Windows username could be stored in the name of the log file.
!U should mean username.

Example: !D-!M-!Y-!T_!@_!U.log --> 10-06-2016-132600_ftp.winscp.net_WinUserName.log
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24994
Location: Prague, Czechia
You can use environment variables in the path
https://winscp.net/eng/docs/local_path

!D-!M-!Y-!T_!@_%USERNAME%.log
Vikitorony
[View user's profile]

Joined: 2016-06-10
Posts: 2
Thank you prikryl! Perfect solution for me. Smile
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License