serialization of upload commands