Add new comment

Submitted by Bill St. Clair on Thu, 2006-07-27 19:12.

I've got streaming upload working in Ruby, but I haven't cleaned up the code for release. It works for what I need, uploading files to my S3 web sites. I have the following command line commands working well enough for limited use:

s3cd - change s3 working directory
s3pwd - print s3 working directory
s3ls - list files matching a prefix
s3rm - remove a file from s3
s3cp - upload local files to s3

My plan is for s3ls and s3rm to do full wildcard matching, and for s3cp to copy from s3 to disk and to copy from an http or ftp connection to s3 with no disk in between. This last isn't possible in general, since s3 requires that you know the object length at the beginning of the upload, but it will work for connections that give their length right away. Others need to be downloaded to disk first.

s3cp shows progress, like wget and scp. This is how I know that my streaming code is working; it shows upload progress once a second.

But I haven't done any work on it in a while, having enough to do what I need.

Reply



The content of this field is kept private and will not be shown publicly.


*

  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <i> <b> <u>
  • Lines and paragraphs break automatically.
  • Web and e-mail addresses are automatically converted into links.
  • You may quote other posts using [quote] tags.
  • Easily link to terms in various wikis. For help, see interwiki.
  • Easily link to terms in various wikis. For help, see interwiki.
  • You may quote other posts using [quote] tags.
  • You can use BBCode tags in the text, URLs will be automatically converted to links
Verify comment authorship
Captcha Image: you will need to recognize the text in it.
*
Please type in the letters/numbers that are shown in the image above.