Add upload and truncate commands