amazon-s3

Save Image from URL to Amazon S3 using PHP

Hello all, I'm looking for some help and direction on how I can pull an image from a URL (these are my own images) and move/upload the image to my Amazon S3 bucket, using PHP. For example, let's say the image I need is: http://myhost.com/image.jpg I would like to be able to move this image (image.jpg) to my S3 server. Any ideas on...

S3 Redirecting Keys

Is it possible to set up redirects on s3 keys? I haven't been able to find any information on this online. ...

cURL Array from Amazon S3 PHP Class

Hello, I'm currently using the Amazon S3 PHP Class, getObjectInfo() The line I'm using is this: $info = $s3->getObjectInfo($bucketName, baseName($uploadFile)); echo "S3::getObjecInfo(): Info for {$bucketName}/".baseName($uploadFile).': '.print_r($info, 1); And it returns something like this: S3::getObjecInfo(): Info for media...

Uploading to Amazon S3 using cURL/libcurl

Hi I am currently trying to develop an application to upload files to an Amazon S3 bucket using cURL and c++. After carefully reading the S3 developers guide I have started implementing my application using cURL and forming the Header as described by the Developers guide and after lots of trials and errors to determine the best way to c...

what cloud API to use - simplecloud?

I work for a company which is developing a media asset management website. We've decided to modify our web app to host our media on the cloud. We will license this web application to our customers and allow them to choose whatever cloud service they want. Currently we are using Amazon S3 and I manually upload the files using cloudberry. ...

PHP Force Download of Remote File

Hello all, I have a bunch of videos stored on my Amazon S3 storage. I'm working on creating a PHP script, very similar to the one here, where users can download the videos to their hard drive. I'd like to use something like this: <?php $file_name = $_GET['file']; $file_url = 'http://www.myamazons3.com/' . $file_name; header('Content...

Deleting From Amazon S3

Hi, I have a (hopefully easy) question regarding Amazon S3 and Cloudfront. I'm using S3Fox, and I have a CNAME setup to point to my bucket: http://mycname.mydomain.com I've noticed that when I open/access that file via a distribution URL (my CNAME), and then, go to delete the file from the bucket later, the distribution URL still wor...

Is there a free alternative to Amazon S3?

Hi, I'm looking for an online simple storage service like Amazon's that is free. It doesn't have to be that reliable, fast or well documented. It can also be a "free" version, like up to 10 Mb of storage. I need it for a very small file. I was thinking about something like rapidshare but with a REST / RPC interface. Is there anything...

Making files uploaded to s3 public

I'm using s3-swf-upload-plugin in a Rails project to upload directly to S3. Pretty nifty, but can't seem to figure out how to make the uploaded files public. S3 doesn't seem to have the concept of public "buckets". Any ideas? ...

Engine Yard with paperclip

Greetings, has anyone of you used the paperclip plugin on Engine Yards hosting service? Are there any problems to solve or anything to pay special attention to? Is the paperclip on heroku example of Pedro Belo fitting? Thanks for your comments, Joe ...

Is it possible to do Flash pseudo streaming with S3?

I've been using S3 to store and serve FLV and MP4 videos. It works great, but the content is progressively downloaded. I was wondering if it is possible to get so-called "pseudo streaming" to work with S3. Pseudo streaming allows viewers to seek ahead in a video before the full video has downloaded as well as send only the bits nece...

Rails Paperclip conflict between aws-s3 gem and right_aws gem. How to solve?

Hi, for a new App I want to use paperclip to store Files to S3. I already have installed the aws-s3 gem for another app. That seems to cause some problems, because Paperclip should use right_aws but is trying to use the aws-s3 gem. But I don't want to remove the aws-s3 gem from my system. Is there a way to solve this conflict? Maybe by ...

Rails based S3 file manager

Hi, I'm looking for an open source project that provides a file manager type interface to S3. The ability to view files and "folders", add/edit/delete files/folders, etc. I've seen http://s3fm.com, but I'd like to host something like that myself. Does anything like this exist? Thanks. ...

Scaling images stored at S3

I'm in a situation where I need to push image storage for a number of websites out to a service that can scale indefinitely (S3, CloudFiles, etc.). Up until this point we've been able to allow our users to generate custom thumbnail sizes on the fly using Python's Imaging library with some help from sorl-thumbnail in Django. By moving ou...

Querystring in S3-Key

It seems like you can upload files to s3 with a key including a questionmark, like: test.html?p=1 But then i can not access it. If i try to access test.html?p=1 i will get the object stored with the key "test.html", is there some way to make this work? There is no problem if i end up on test.html if test.html?p=1 doesn't exist but if i...

libcurl and amazon s3

Hi I am wondering if there is a way to set two different write callback functions in libcurl. The problem is that I'm currently using libcurl to communicate with amazon s3 for various operations, creating buckets, uploading, deleting and downloading objects. The problem is with the download function, I have set a callback function to wr...

ruby aws-s3 bucket problem

I'm trying to test the aws-s3 gem for ruby, but I'm getting a weird reply: I connect, and can see I am connected, then I run: AWS::S3::Service.buckets and get the [] reply as expected, then I create a bucket AWS::S3::Bucket.create('some-name') and get true as a reply, then I run AWS::S3::Service.buckets but still get the empty array as ...

Creating expiring links to S3 or Cloudfront hosted content with ASP .Net

Anyone have an example of creating a signed URL with an expiration using ASP .Net? I'm exploring using LitS3 or ThreeSharp in my project, and have not seen any specific methods to do this in either of those projects. Thanks. ...

Db Backup Options (for Cloud DBs like Amazon ESB and GAE)

What are db backup options for (offline): 1 - Amazon EC2 2 - GAE (Google App Engine) Note: For example ESB (Amazon Elastic Block Store) provides differential snapshots which is great; and we can have backups in Amazon S3, which is great too. But I do not know if I can have latest version of my db, on my local machine. Thanks ...

S3 + DevPay for a user application, do I hardcode my ProductToken?

subject says all, the REST api docs seem to make me think I do (and if I dont my code doesnt work) Do: -hard code ProductToken -ask user for authorization key DoNot: -hard code (or use) access key ID -hard code (or use) secret access key keep in mind this is for an application that uses devpay, not a website thanks! ...