up vote 3 down vote favorite
3
share [g+] share [fb]

Quick question, simple console client for Amazon S3 at Windows?

link|improve this question

feedback

4 Answers

up vote 4 down vote accepted

Quick answer, check out s3.exe

link|improve this answer
exactly what i was looking for, thanks! – Carl Hörberg Sep 3 '09 at 22:22
feedback

Cloudberry have written Powershell cmdlets that will probably do what you're looking for:

http://www.cloudberrylab.com/default.aspx?page=amazon-s3-powershell

link|improve this answer
still haven't managed to get around powershell's syntax/core concept.. :( – Carl Hörberg Sep 3 '09 at 22:24
I can relate to that, but it really is time well spent learning Powershell. I would suggest searching for the Powershell Week webcasts on the Microsoft script centre. Watch all 5 and you will be surprised how quickly your learning will accelerate after that. – fenster Sep 4 '09 at 1:08
feedback

You don’t say what you’re using it for, but one possibility is that you want to automate a process like a software build or a backup.

If you don’t mind a little programming (and only a little, really), try boto, which is a Python module. We use it in a build script on Windows and it’s very easy. You can do something like this:

# Example: Upload an .exe file and make it world readable.
from boto.s3 import Connection
conn = Connection(YOUR_ACCESS_KEY_ID, YOUR_SECRET_ACCESS_KEY)
bucket = conn.get_bucket('some-bucket')
key = bucket.new_key('the_file.exe')
key.set_contents_from_filename('local_path_to_the_file.exe')
key.set_acl('public-read')

You can also generate those nifty auto-expiring URLs—something we use for paid downloads:

# Example: Get a URL for a file on S3. Make the URL expire after 1 day.
from boto.s3 import Connection
conn = Connection(YOUR_ACCESS_KEY_ID, YOUR_SECRET_ACCESS_KEY)
bucket = conn.get_bucket('some-bucket')
key = bucket.get_key('path/to/your/file')
url = key.generate_url(expires_in=86400)
# Note: 86400 is the number of seconds in 1 day

Python has an interactive command-line so it’s easy to experiment with it, too.

link|improve this answer
feedback

I use a java based tool called Jsh3ll. (works in Windows obviously)

https://jsh3ll.dev.java.net/

The main feature that I needed was the ability to use a "commandfile". I.e. I use scripts to generate a text file with all the files I need to upload and then I can run one command to process the whole file. When I did the research 18 months ago or so, this was the only tool that had this functionality.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.