Handles upload to streamwrapper