[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 387
  • Last Modified:

What does Facebook / Picasa / etc use for file upload?

Hi Experts,
This is a continuation question to my last one out of curiosity.  Can anyone tell me what Facebook or Picasa-like sites are using?

Thank you!
Mike
0
thready
Asked:
thready
3 Solutions
 
Nathan RileyFounder/CTOCommented:
I found scripts out there that mimic the same upload style that they use.  Are you looking for a solution that is the same to use on your site?

If so:
http://www.obviousidea.com/windows-software/easy-photo-uploader-for-facebook/
0
 
leakim971PluritechnicianCommented:
Facebook :
<input type="file" class="_n _5f0v" title="Choose a file to upload" multiple="1" name="composer_unpublished_photo[]" id="js_13">

Open in new window

0
 
threadyAuthor Commented:
I'm just thinking that Facebook/Picasa etc wants to support all browsers on all devices to upload files.  I'm wondering if they just use the lowest common denominator on all these devices, or if they try to offer a richer solution (which does seem to be the case).  They have some snazzy looking controls that allow you to select multiple photos/videos - but what are these and do they work well cross-platform?
0
 
Scott Fell, EE MVEDeveloperCommented:
You simply need a form to select the file and from there serverside code to handle the upload and saving and any processing to your server.  

The important thing to remember in what is "best" is what is the best for one site is not for another.    Facebook uses php and most other sites use python, ruby, asp.net.  You can also convert an image to base64 on the client side and save that to a database.  

File services like dropbox, googledrive will encrypt the file before sending it to the server.  This is why it may take longer for larger files then if you did this on your own.
0
 
threadyAuthor Commented:
Thanks!
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now