anchor.diff:  SET uploadIdFile=%1
   SET createErrFile=%tempDir%\createErr.txt
   
  -:: Create the AWS S3 multipart upload (can't pass null string to --metadata argument)
  -SET partsdir=%partsdir:"=%
  +:: Create the AWS S3 multipart upload
   SET options=%options:"=%
   ECHO.
   ECHO Creating multipart upload with options:
   ECHO    Bucket: %bucket%
   ECHO    Key: %key%
   IF NOT "%options%"=="" ECHO    Options: %options%
  -aws s3api create-multipart-upload --bucket %bucket% --key %key% %options% --profile %profile% > "%RESPONSE_FILE%" 2> "%createErrFile%"
  +aws s3api create-multipart-upload ^
  +    --bucket %bucket% ^
  +    --key %key% ^
  +    %options% ^
  +    --profile %profile% > "%RESPONSE_FILE%" 2> "%createErrFile%"    &:: File redirection must occur on same line as last option
   
   :: Rethrow any error messages from the AWS API
   FOR /F %%i IN ("%createErrFile%") DO SET size=%%~zi
  
positive.code:     ECHO     Uploading part !counter!/%numFiles%: %%~nF%%~xF  ^(%%~zF bytes^)
      
      :: Attempt to upload this object part
      aws s3api upload-part --bucket %bucket% --key %key% --part-number !counter! --body "%%F" --upload-id %uploadID% --profile %profile% 2> "%uploadErrFile%" | findstr ETag> "%RESPONSE_FILE%"
  
      :: If any AWS API errors occurred then log them and continue to the next object part
      SET size=0
  
negative.code: EXIT /B 0
  
  ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
  :: int createMultipartUpload(string uploadIdFile, string bucket, string key, string profile, string options="")
  ::
  :: If successful, the upload-id of the new multipart upload will be stored to the provided file
  ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
  