findify / s3mock

Embedded S3 server for easy mocking
MIT License
387 stars 107 forks source link

copyObject problem with directories #130

Open ukeller opened 6 years ago

ukeller commented 6 years ago

when copying from src to dest, if src is a directory and dest doesn't exist, the dest parent will be created as a file instead of as a directory. This results in a FileAlreadyExistsException in the call to copyTo on line 137