Fix UploadContinuous and UploadTriggered
Merge pull request #429 from ogail/upload

Fix UploadContinuous and UploadTriggered