Fix the bug of negative speed. This happens when you try to upload a different with a same key after the file upload failed due to file exists or something like this.
Init the uploadLastPos to 0 to solve this problem. A silly bug.