Solved

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

Posted on 2013-11-01
5
372 Views
Last Modified: 2013-11-06
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
Comment
Question by:thready
5 Comments
 
LVL 11

Assisted Solution

by:N R
N R earned 167 total points
ID: 39616543
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
 
LVL 82

Assisted Solution

by:leakim971
leakim971 earned 166 total points
ID: 39616548
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
 
LVL 1

Author Comment

by:thready
ID: 39616565
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
 
LVL 52

Accepted Solution

by:
Scott Fell,  EE MVE earned 167 total points
ID: 39616569
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
 
LVL 1

Author Closing Comment

by:thready
ID: 39628346
Thanks!
0

Featured Post

MIM Survival Guide for Service Desk Managers

Major incidents can send mastered service desk processes into disorder. Systems and tools produce the data needed to resolve these incidents, but your challenge is getting that information to the right people fast. Check out the Survival Guide and begin bringing order to chaos.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Why a span is lower 2 21
Create tabs to show divs 9 32
JS does not refresh 6 21
How can I make a javascript to show drop down 4 21
This article discusses how to create an extensible mechanism for linked drop downs.
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
In this tutorial viewers will learn how to style transparent/translucent elements using alpha transparency in CSS Start with a normal styled element, such as a div.: Define its "background-color" property as "rgba (255, 255, 255, .5): The numbers in…
In this tutorial viewers will learn how to code links for mobile sites that, once clicked, send a call or text to a specified number. For a telephone link (once clicked, calls a number), begin with a normal "<a href=" link tag. For the href, specify…

825 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question