support for uploading streams