Open k6s3 opened 10 years ago
Does it work with filenames without spaces?
Yes, it works with filenames without spaces..
Regards,
Kaushik Shah +91 9920 511 571
On Fri, Jan 24, 2014 at 3:13 PM, Kuba Kuźma notifications@github.comwrote:
Does it work with filenames without spaces?
— Reply to this email directly or view it on GitHubhttps://github.com/qoobaa/s3/issues/86#issuecomment-33209449 .
Hm. It seems like a problem with escaping strings when calculating signatures. Do you have some time to fix it?
Sure, I'll try to fix it over the next couple of days.
On Fri, Jan 24, 2014 at 3:45 PM, Kuba Kuźma notifications@github.comwrote:
Hm. It seems like a problem with escaping strings when calculating signatures. Do you have some time to fix it?
— Reply to this email directly or view it on GitHubhttps://github.com/qoobaa/s3/issues/86#issuecomment-33211408 .
I've implemented a direct to s3 file upload mechanism, where the file first gets uploaded to the bucket root and then gets copied over to its final resting place using a copy command..
The copy fails if the file name has two spaces, as illustrated below -
The data setup is proper, "a b.pdf" (note doublespaces) and "x y.pdf" files exist in the same bucket as artifact.attachment ("artifact" is a rails active record object)