amazon-s3

Upload file or InputStream to S3 with a progress callback

We are uploading a file using the Amazon AWS Java Library and are having difficulty obtaining upload progress. We're currently calling the following: File file = new File(localAsset.getVideoFilePath()); PutObjectRequest putObjectRequest = new PutObjectRequest(bucket, localAsset.getFileName(), file); s3.putObject(putObjectRequest); Ho...

How to use Amazon S3 classes with Walrus S3?

Hi all, I am developing an iphone project in which I have to use Walrus S3 of Eucalyptus which my client has asked to use. It is similar to Amazon S3. He has provided me a url for storing buckets and objects just like there is a url in Amazon S3. I am using the S3 classes from the following link: http://allseeing-i.com/ASIHTTPRequest/S3...

Storage with Amazon S3

My website publishes news along with photos and videos. Right now my videos and images are being hosted on the web server only and they are occupying HDD space day by day. Adding or increasing HDD will not solve my issue as this will also create similar problem in future again. Here are some doubts to be clarified. Can I utilize Amazo...

Cloud computing usage by region

Is there any way for me to identify cloud computing usage by region -- whereby cloud computing refers primarily to the use Amazon AWS and Microsoft Azure. I have a product that is somewhat regional in nature, and I don't want to waste time customizing the solution to countries which are unlikely to bring much return in $$$. I can only p...

Connect with Amazon S3 and upload a file

I am trying to connect with Amazon S3 I have the aws-s3 (0.6.2) gem installed. But I keep getting the following error: undefined method `xml_in' for nil:NilClass I can't find out what's the problem, also several searches on Google turns out in to nothing. I hope someone here can tell me more about this error. My code: require 'rake'...

PHP/Amazon S3: Query string authentication sometimes fails

I created a simple file browser in PHP that links to the files through generation expiring query URLs. So for each access to a directory, a link to each file is generated that is valid for say 900 seconds. I now have the problem that the generated signatures seem to fail sometimes. Which is strange, since I intentionally used external S...

Connect to Amazon S3 from hosting

Ok I been Googling for a while now, and i can't seem to find a good tutorial on how to connect to an Amazon S3 account from my hosting server. If anyones knows of a good step by step tutorial please post url. Here's a little bit more info on what im trying to accomplish. im using Vidiscript which is a YouTube clone I want to save on dis...

amazon s3+paperclip - AWS::S3::NoSuchBucket

I’ve used Uploadify and paperclip in Rails3 and I’m getting this error - AWS::S3::NoSuchBucket (The specified bucket does not exist): app/controllers/cards_controller.rb:79:in `create' app/controllers/cards_controller.rb:78:in `create' app/middleware/flash_session_cookie_middleware.rb:16:in `call' My s3.yml file is ————————————————...

set input value to file located on server

Ok im really new to amazon s3 just created my account today. im tring to upload files from my server to my S3 account via POST Proposal. i got at working form that has a input type file but i dont wanna select file form my computer. i want to create a cron job that submits a file located on my server. is this possible ...

how to get version of an object in an Amazon S3 bucket using boto?

After uploading a file by doing this: key = Key(bucket) key.set_contents_from_file(fh) I expect it to return some kind of information for the uploaded file, but it doesn't. I want to maintain a list of all versions of a file. is there a way to get the latest version key as soon as I upload it? FYI I'm using boto 1.9b ...

Amazon S3/Cloudfront Image Overwriting Issue

I'm currently serving up static images to my site via Amazon Cloudfront and for some reason my images won't update when I try to overwrite them with an updated image. The old image continues to display. I've even tried deleting the entire images folder and uploading the newest ones without success. The only thing that works is renaming ...

ASP.NET MVC - Uploading an image to Amazon S3

Hi. I have my image from Request.Files[0]. Now, how do I upload this image to S3? I see that in the AWS .NET API you have to specify ContentBody when putting an object which is a string. How would I get the content body of my file? ...

Ant Tasks for Amazon EC2/S3?

Does anyone know of a good library providing Ant tasks for performing operations against Amazon EC2/S3? I'd like to leverage S3 for deployment of new WAR files for my applications, and figured Ant would be a good way to keep simplify the process and keep everything consistent. Any recommendations? ...

Hiding amazon urls when using S3, Rails and Paperclip

I have just set up file uploads to Amazon S3 using Rails 3 and Paperclip. All this works amazingly well and is up and running. There is just one small detail that I would like to sort out. At the moment, the urls are the amazon urls (ie start http://s3.amazonaws.com) and I would like them to begin with my domain. I have already added...

Create an image with ruby-graphviz, send it to s3 from heroku?

I'm trying to make an image of a graph using ruby-graphviz by @graph.output(:output => "png", :file => "public/images/graph.png") Since I'm using heroku, how can I save the image locally and send it to an s3 bucket, or just send it straight to the s3 bucket? I'd appreciate any help. ...

Use EC2 to Zip S3 files

Hello all, I am trying to use EC2 to zip up some files that are stored in an S3 bucket. I have gotten as far as successfully getting SWFUpload to work with PHP and upload the files to S3. I read that the best way to zip up S3 files without incurring huge transfer costs is to use EC2 to deal with S3. After a lot of effort I managed to ge...

Protecting video on my site?

Hi, I'd like to host a video on s3. I would like to 'embed' it in a page within my site, like: http://example.com/demo.html <video>the video</video> I'm not sure how to embed a video player and point it to the url hosted at s3, I've only used the youtube api player for that, but this is probably possible. The issue I'd like to kn...

Streaming video from an s3 account?

Hi, I'm looking at hosting video content on s3. If I understand correctly, s3 is just a simple storage mechanism - we can just host files on it, and pull them into our sites via their urls. What are people using to stream videos hosted on s3? I've only used the youtube apis to embed their video player in my pages, but I'm not sure what...

howto upload a file via a single html form to more than just a single server

Sending a file/key to Amazon S3 via a html form and HTTP Post is quite easy and working. But I want to send a file to several S3-compatible sites via HTTP POST and a single html form. How can I do this? As far as I know, HTTP POST can only be directed at a single target location. I want the file to be sent to the first S3-compati...

How to quickly deploy assets to Amazon S3 with an Ant target?

What is the quickest way to deploy content to a CDN with an Ant target? My Ant target is running on a continuous integration server (Hudson). My current solution uses curl and is a bit slow. Should I use wput or something else and how would I do that in ant? <target name="Deploy"> <for param="file"> <path> <fileset dir=...