aws-toolkit-azure-devops icon indicating copy to clipboard operation
aws-toolkit-azure-devops copied to clipboard

S3 Download error Conflicting file exists

Open motisoft opened this issue 1 year ago • 1 comments

S3 Download error on hosted azure DevOps with windows agent

I have nested directories in s3 bucket, the task creates the top level directory as a 0 byte file, when the task continue to download a file under that directory it fails with: Unable to create directory 'D:\CD\1\templates\dev\-1\Email'. Conflicting file exists: 'D:\CD\1\templates\dev'. Overwrite flag is set to true.

To reproduce

Steps to reproduce the behavior:

  1. Create s3 bucket with files in nested directories like dev\-1\Email\en-us.txt
  2. Create a pipeline with latest S3 Download task v1.13.0 with windows agent version 2.153.1 to download all the bucket to the agent default working directory.

Expected behavior

A Successful step with the bucket contents on the destination directory.

Your Environment

  • On-prem
  • Azure DevOps version: Dev17.M153.3
  • AWS Toolkit for Azure DevOps version: 1.13.0

motisoft avatar Aug 01 '22 08:08 motisoft

Probably related to #468

motisoft avatar Aug 01 '22 09:08 motisoft