Topic "overwrite log file"

Author Message

how can I overwrite the log file using command

winscp.exe TESTUSER /console /script="C:\docs\bat\winscp.txt" /log="c:\docs\bat\winscp.log"

I see int he windows gui on the logging tab (window) I can set the overwrite option how can I do this using the scripting or commands?
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25310
Location: Prague, Czechia
This cannot be set on command-line. You have to configure it in the GUI.

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!


About donations

$9   $19   $49   $99

About donations


WinSCP Privacy Policy

WinSCP License