Permalink
Browse files

Edited TransferManager.cs via GitHub

  • Loading branch information...
1 parent 690f8d5 commit dacfe3959f67d1b0c8979015d29c4173b736f636 @hbons committed Aug 31, 2011
Showing with 4 additions and 3 deletions.
  1. +4 −3 TransferManager.cs
View
@@ -53,9 +53,6 @@ public TransferManager (string database_path, string remote_path)
this.upload_process.StartInfo.UseShellExecute = false;
this.upload_process.StartInfo.WorkingDirectory = database_path;
this.upload_process.StartInfo.FileName = "rsync";
- this.upload_process.StartInfo.Arguments = "--ignore-existing " +
- "--bwlimit=" + BandwidthLimitKbps + " --recursive --whole-file --progress " +
- "--exclude=HEAD " + DatabasePath + " " + RemotePath;
this.download_process.EnableRaisingEvents = true;
this.download_process.StartInfo.RedirectStandardOutput = false;
@@ -67,6 +64,10 @@ public TransferManager (string database_path, string remote_path)
public void UploadObjects ()
{
+ this.upload_process.StartInfo.Arguments = "--ignore-existing " +
+ "--bwlimit=" + BandwidthLimitKbps + " --recursive --whole-file --progress " +
+ "--exclude=HEAD " + DatabasePath + " " + RemotePath;
+
this.busy = true;
this.upload_process.Start ();

0 comments on commit dacfe39

Please sign in to comment.