batch upload state files to the server