Topic "Byte logging for VB.NET Assembly"

Author Message
parksa
[View user's profile]

Joined: 2012-05-29
Posts: 2
Location: asppost
I need to log the Byte counts per file but I do not see the ability using the TransferEventArgs.

transferResult.Check()

' Print results
Dim transfer As TransferEventArgs
For Each transfer In transferResult.Transfers
Console.WriteLine("Upload of {0} succeeded", transfer.FileName)
f.Writeline(current_date & "_" & current_time & " Upload of " & transfer.FileName & " TO " & transfer.Destination & " succeeded ")
Next

I also attempted to make use of session.XmlLogPath = LOG_PATH & file_Name & ".XML" as an alternative but Bytes where not part of the Tags.

<group name="put -nopermissions -nopreservetime -transfer=&quot;binary&quot; -filemask=&quot;|*/&quot; -- &quot;C:\TEST\FTP\OUT\SSH\*.*&quot; &quot;/app01/Opalis/TEST_IN/&quot;" start="2014-03-11T16:53:04.951Z">
<upload>
<filename value="C:\TEST\FTP\OUT\SSH\SSH_OUT.txt3" />
<destination value="/app01/Opalis/TEST_IN/SSH_OUT.txt3" />
<result success="true" />
</upload>
</group>
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
This is not supported.
Request added to tracker:
https://winscp.net/tracker/show_bug.cgi?id=1142
_________________
Martin Prikryl
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