id,summary,reporter,owner,description,type,status,priority,component,resolution,keywords,cc,component_version,os,os_version 12029,Unable to connect to S3 bucket which has conditional perms,hkrok,,"FileZilla Pro is unable to connect to AWS S3 buckets that have conditional ListBucket permissions. The result is a 400 Bad Request. I have a S3 bucket on which the ListBucket permission for my user is conditional with a string prefix, e.g.: {             ""Effect"": ""Allow"",             ""Action"": [                 ""s3:ListBucket""             ],             ""Resource"": ""arn:aws:s3:::my-bucket"",             ""Condition"": {                 ""StringLike"": {                     ""s3:prefix"": [                         """",                         ""/"",                         ""mysubdir"",                         ""mysubdir/"" etc. The policy means that the user is only able to browse the top level of the bucket and the mysubdir folder, but not any of the other folders in there. The policy is confirmed as working, via the AWS CLI, AWS console and other 3rd party apps like ""S3 Browser"", ""Cyberduck"", etc. When FileZilla Pro tries to connect to a bucket like this the result is: Response: HTTP/1.1 400 Bad Request and Error: Failed to retrieve directory listing I tried adding a remote directory in the connection config (eg /my-bucket/mysubdir) but that didnt help. Please help!",Bug report,new,normal,FileZilla Client,,,,3.45.2,Windows,Windows 10