anchor.diff:  IF ERRORLEVEL 1 EXIT /B 1
   
   :: Upload each part
  -SET ETAGS_FILE=upload-part-etags.json
  +SET ETAGS_JSON=%CD%\upload-part-etags.json
   CALL :uploadParts
   
   :: Complete the multipart upload
   CALL :completeMultipartUpload
  -DEL "%ETAGS_FILE%"
  +REM DEL "%ETAGS_JSON%"
   
   EXIT /B 0
   
  
positive.code: DEL "%TMP_FILE%"
  
  :: Add final lines to parts JSON file
  >> %ETAGS_FILE% (
      ECHO    ]
      ECHO }
  )
  
negative.code: SET RESPONSE_FILE=
  SET ERROR_FILE=
  SET ID_FILE=
  SET size=
  
  EXIT /B 0
  