Add number of bytes stransferred to log file

Advertisement

trybik
Guest

Add number of bytes stransferred to log file

Hello,
would it be possible to log an information about a number of bytes transferred? Right now there is an information that copying is started, like this:
. 2010-03-29 12:04:02.650 Copying "T:\MT1030123.TXT" to remote directory started.
. 2010-03-29 12:04:02.650 Binary transfer mode selected.
But there's no clear "end of copying" information. I'd like to have something like "File transfer complete, 123456 bytes transferred". This would make it clear about what happened in the past.

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
40,567
Location:
Prague, Czechia

Re: Add number of bytes stransferred to log file

The plain text log is for debugging only. You can use XML logging instead.

Request to log bytes transferred has been added to tracker.

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
40,567
Location:
Prague, Czechia

Re: Add number of bytes stransferred to log file

The latest version of WinSCP logs something like this at the end of every transfer:
. 2020-03-18 10:58:24.262 Transfer done: 'C:\source\file.txt' => '/target/file.txt' [1024]

Reply with quote

Advertisement

You can post new topics in this forum