Skip to content

aws s3 sync from S3 -> Windows issue when directory casing does not match #9596

@mike406

Description

@mike406

Describe the bug

Hello, I am looking to report an issue I am seeing with running aws s3 sync. I am trying to sync an S3 bucket to an FSx SMB share mounted as a drive on a Windows EC2 instance. I am noticing that some folders in the destination FSx share are missing files that are present in S3 and they are not being downloaded. Nothing about these files are strange, they are PDFs and .docx files. Any thoughts on why files present in S3 are being ignored and not downloaded? If I sync the exact subfolder specifically, then they do get downloaded.

The full command I am using is aws s3 sync s3://{my-bucket} \\share\path --delete

Regression Issue

  • Select this option if this issue appears to be a regression.

Expected Behavior

I expect all files present in S3 to be downloaded to the FSx share if they are not present there.

Current Behavior

Certain files are not being downloaded so some folders have less files than they should.

Reproduction Steps

See my comment below - I did end up figuring out how to reproduce the issue after some testing.

Possible Solution

No response

Additional Information/Context

No response

CLI version used

2.27.48.0

Environment details (OS name and version, etc.)

Windows Server 2019

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugThis issue is a bug.p1This is a high priority issues3

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions