Upload functionality works