Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

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

parksa

Byte logging for VB.NET Assembly

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>