Closed GoogleCodeExporter closed 8 years ago
Roberto,
(1) That's expected behavior. There is no reason why the name of the uploaded
file
should match that on disc - an unix file system has completely different escape
characters to an URL. For example, you might want to upload a zip as
http://s3.amazonaws.com/roberto-files/file (and give it a mime type of
application/zip, say) but call it on disc as file.zip.
(2) s3-get
I think this is fine. s3-get, when it gets a file, streams it to standard
output.
This is so you can pipe it or redirect the output to another unix utility.
This output for a zip or tar.gz would binary. Try uploading a text file and
using
s3-get to retrieve it - you should get readable output.
To save a file, use a stdout redirector. ./s3-get -s key ON4BJ_ETC
/roberto-files/file.zip > myfilename.zip
Original comment by raphael....@gmail.com
on 5 Oct 2007 at 5:23
Original issue reported on code.google.com by
rjpere...@gmail.com
on 5 Oct 2007 at 11:47Attachments: