unused upload streamcode, maybe useful later s3-upload