title: node-cloudfiles module - Is there a way to track upload progress
body: <p>If anyone here is familiar with the node-cloudfiles module for node.js, I could use some help in several different areas.  Unfortunately, is seems the authors are nearly impossible to reach via their github repo (EDIT: nevermind, someone did reach out to me, I'll send an update when I have an answer of some sort prepared.)</p>
  
  <p>I'll start with my most basic challenge: is there a way to track the progress of the upload? I have tried many things, but the object returned from the .addFile command does not seem to hold any sort of progress stats.</p>
  
  <p>Here is a basic outline of what I am working with.</p>
  
  <pre><code>var readStream = fs.createReadStream(path+'.'+extension, streamopts);
  var upOpts = {
      headers: {
          'content-type': 'video/'+extension,
          'content-length': totalBytes
      },
      remote: CDNfilename, 
      stream: readStream
  };
  
  //reqStream is the object returned from the 'request' module, 
  //which is used by the 'cloudfiles' module.
  var reqStream = cloudClient.addFile(Container.name, upOpts, function (err, uploaded) {
      if (err) { console.log(err); }
  
  });
  </code></pre>
  
  <p>At first I thought I could just use the .bytesWritten property connected to an interval timer, but the object is not a normal node writeStream, so there is no such property.</p>