Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

share|improve this question

4 Answers 4

up vote 4 down vote accepted

Quick answer, check out s3.exe

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

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

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

share|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

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.

share|improve this answer

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.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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