[Box Backup-commit] COMMIT r1595 - box/chris/merge/bin/bbackupd

boxbackup-dev at fluffy.co.uk boxbackup-dev at fluffy.co.uk
Sat Apr 28 18:36:36 BST 2007


Author: chris
Date: 2007-04-28 18:36:35 +0100 (Sat, 28 Apr 2007)
New Revision: 1595

Modified:
   box/chris/merge/bin/bbackupd/BackupClientDirectoryRecord.cpp
Log:
Notify about full file uploads. (refs #3)


Modified: box/chris/merge/bin/bbackupd/BackupClientDirectoryRecord.cpp
===================================================================
--- box/chris/merge/bin/bbackupd/BackupClientDirectoryRecord.cpp	2007-04-28 17:35:34 UTC (rev 1594)
+++ box/chris/merge/bin/bbackupd/BackupClientDirectoryRecord.cpp	2007-04-28 17:36:35 UTC (rev 1595)
@@ -31,6 +31,7 @@
 #include "Archive.h"
 #include "PathUtils.h"
 #include "Logging.h"
+#include "ReadLoggingStream.h"
 
 #include "MemLeakFindOn.h"
 
@@ -1357,9 +1358,13 @@
 		if(doNormalUpload)
 		{
 			// below threshold or nothing to diff from, so upload whole
+			rParams.GetProgressNotifier().NotifyFileUploading(this, 
+				rFilename);
 			
 			// Prepare to upload, getting a stream which will encode the file as we go along
-			std::auto_ptr<IOStream> upload(BackupStoreFile::EncodeFile(rFilename.c_str(), mObjectID, rStoreFilename));
+			std::auto_ptr<IOStream> upload(
+				BackupStoreFile::EncodeFile(rFilename.c_str(),
+					mObjectID, rStoreFilename));
 		
 			// Send to store
 			std::auto_ptr<BackupProtocolClientSuccess> stored(




More information about the Boxbackup-commit mailing list