Solved

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

Posted on 2013-11-01
5
368 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
Thanks!
0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Suggested Solutions

How to build a simple, quick and effective accordion menu using just 15 lines of jQuery and 2 css classes
Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
In this tutorial viewers will learn how add a scalable full-width header using CSS3. Create a new HTML document with an internal stylesheet. Set a tiled background.:  Create a new div and name it Header. Position it with position:absolute at the top…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

763 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now