handle uploads over the media controller