abashev / vfs-s3

Amazon S3 driver for Apache commons-vfs (Virtual File System) project
Apache License 2.0
93 stars 50 forks source link

copyFrom returns 200 but file is not created #59

Closed squalo-villa closed 5 years ago

squalo-villa commented 5 years ago

Hi Abashev,

we're experiencing a weird behavior using the copyFrom method. We're copying a sample text file from local to S3, everything looks fine, the log says the PUT request gets a 200, but no file is available in S3 (from the console nor from the getChildren method).

Have you experienced something similar in the past? Are we missing something?

Thanks,

squalo-villa commented 5 years ago

misunderstood behaviour - it works ok when resolving the entire path to S3, including the filename. S3 API should be more clear on this, as it returns 200 when nothing is created.