mirror of
https://github.com/winscp/winscp.git
synced 2026-10-24 02:28:55 +03:00
Bug 597: Bytes transferred are recorded in XML log and available in .NET assembly API + Bug fix: When size of a file downloaded with FTP protocol changes (or when ASCII mode is used) the logged size did not reflect the actual transfer size
https://winscp.net/tracker/597 Source commit: 0c5eb1660ec82a498c0183590116f944963c385f
This commit is contained in:
@@ -1984,7 +1984,7 @@ void __fastcall TSCPFileSystem::SCPSource(const UnicodeString FileName,
|
||||
Rights);
|
||||
}
|
||||
|
||||
FTerminal->LogFileDone(OperationProgress, AbsoluteFileName);
|
||||
FTerminal->LogFileDone(OperationProgress, AbsoluteFileName, Action);
|
||||
// Stream is disposed here
|
||||
}
|
||||
|
||||
@@ -2644,7 +2644,7 @@ void __fastcall TSCPFileSystem::SCPSink(const UnicodeString TargetDir,
|
||||
FILE_OPERATION_LOOP_END(FMTLOAD(CANT_SET_ATTRS, (DestFileName)));
|
||||
}
|
||||
|
||||
FTerminal->LogFileDone(OperationProgress, DestFileName);
|
||||
FTerminal->LogFileDone(OperationProgress, DestFileName, Action);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user