Is it possible to upload files to Rackspace Files Cloud from browser? - amazon-s3

Is it possible to upload files to Rackspace Files Cloud from browser like in Amazon S3?

If you are speaking about uploading via the browser then you can use https://manage.rackspacecloud.com/ which has a nice web interface to upload your files.
If you want to have an API call from the browser since the API is all in REST it should not be too hard to implement it in JavaScript, I haven't seen any library/binding in JavaScript but this should be pretty straightforward to do straight with jQuery or such, see this SO article for some examples :
JavaScript REST client Library
and this is a link for the REST documentation of Rackspace CloudFiles :
http://docs.rackspacecloud.com/files/api/cf-devguide-latest.pdf

Related

Questions about uploading multiple images with any API

I have some questions about uploading images to cloud storage, I wish someone could help me. I would like answers according to best practices:
Which is better, send the images to my API with all other form information and then send them to the cloud or upload them to the cloud directly via Frontend and separate from other form information?
Do I need to make a request for each image or is it better to upload all images directly?
Backend generates a signed url at which the client uploads the video directly - this requires solid authentication
Depends if the client has a good internet connection or not but batching is usually good

Migrate videos from Vimeo to S3

I have a large quantity of videos on my Vimeo account that I would like to migrate to my AWS S3 account.
Rather than go through the time consuming process of downloading from Vimeo to my local machine then uploading from my local machine to S3, is there a way where I can do a direct transfer from Vimeo to S3?
If possible, I would want to create a script to iterate through each video via Vimeo API and set up the path to where it would go into S3 then initiate a direct transfer. Any ideas or suggestions would be much appreciated!
If you have a PRO account or higher, you can use the API to get download links for videos on your account, including download links for the original source file. Those download file links should be able to be used for importing into S3. Note that the links provided via the Vimeo API are expiring HTTP 302 redirects to the video file resource, so make sure you take note of the expiration time also provided in the response.
Download links are returned with the rest of a video's metadata, so I suggest using the fields parameter to only return the metadata needed.
http://developer.vimeo.com/api/common-formats#json-filter
https://developer.vimeo.com/api/reference/videos#GET/users/{user_id}/videos

Imageresizer with c# Web API

I was checking Imageresizer S3 Reader2 plugin, and I have the following question.
My app is basically a c# REST API that has a functionality of serving
photos (resized photos).
Would it be possible to use Imageresizer+Amazon S3 with REST API so I can resize
photos in with Imageresizer in c# before serving it and without transferring original photo over network?
You'll have to transfer the original photo from S3 to your server (at least once) in order to resize it. The S3Reader2 plugin does this automatically. If you want to prevent repeat requests, look into SourceDiskCache.
Otherwise, that's exactly how ImageResizer+S3Reader2 functions.

Does 'google-drive' Web Component replaces the Google Drive Web APIs?

The google-apis together with google-drive makes it super easy to add Google drive app integration to websites. But it seems that it doesn't have many options other than uploading files using app to the user google drive account.
I want to allow users to upload large files to my own google drive storage, will google web components achieve such task or I will need to dive into Google Drive Web APIs server side scripting, using PHP as an example.
Will Google Web Components support more features in the future like allowing users to upload to app google storage (my own google drive) ?
Thank you.
Google Web Components not Polymer components. They are wrappers around Google API's like Drive. That said, I would pose this question in the context of the Drive API rather than in Polymer.

Is it at all possible to make HTTP requests with the Adobe Photoshop JS SDK?

I've been looking at the Adobe Photoshop JavaScript Scripting documentation, and have only seen the use of WebSockets for remote communications. I need to implement a plugin that communicates with a backend PHP API written in Laravel.
Does the Photoshop JavaScript SDK allow HTTP requests at all?
I use a modified version of the extendables library to allow Indesign to access data from our local webserver. I don't see any reason why it wouldn't work with photoshop. See extendables.org for the library.
ETA: That link doesn't seem to go anywhere at the moment. The library itself is available here: https://github.com/stdbrouw/Extendables