Hacker News new | past | comments | ask | show | jobs | submit login
Dropbox adds drag and drop (dropbox.com)
87 points by jackyolk on April 5, 2012 | hide | past | favorite | 29 comments



They also doubled the referral bonuses today! It was 250MB/referral, and it's now 500MB.


The double referral bonuses have been available for college students (anyone with a @.edu or equivalent email address) for quite a while. Glad to see it's available for everyone now!


The part that gets me there is that paid users got doubled to 1GB instead of the 500MB and EDU users got no benefit from the bump. (It's free, so I'm not complaining very loudly)


And it is also now that you can get in retrospect the referral bonuses.


I was hoping it would do something seriously trick (that I have no idea how to implement) and ask the local client to upload instead of a pedestrian HTTP upload.

Still cool.


That might be possible to implement, actually. Just like how clicking on facebook spotify 'listen with' links now plays the song in the _spotify_ app, there may be a way on the server to control what the client does...


A custom protocol wouldn't strictly be necessary. You could have the browser tell the server the path of the dropped files then have the server instruct the native client to fetch and upload those files.

However the File object hides the full path from the JavaScript code for security reasons (see https://developer.mozilla.org/en/DOM/File). I assume most dropped files would contain the user's home directory and therefore account name in the path.


The client has a permanent connection to the server, but in this case the server doesn't necessarily know what client it's on, and some of us have our browsers configured to be pesky (with a dialog box indicating the URL and target app) about sending URLs to different apps.


While I haven't used facebook spotify, links to the itunes store can launch itunes.


On Windows at least, this requires a registry entry to associate the application with the new "protocol". Steam does this as well to launch games and so forth with "steam://foo"


Yeah, a lot of apps can do this.


Is this particulary tricky functionality to implement?



PPK is discussing general drag-and-drop functionality in the browser, not the file-specific drag-and-drop.

Dragging files from your desktop into the browser to upload is fairly simple to implement and works consistently on HTML5 compatible browsers.



It's surprising they didn't have this earlier. I particularly like http://imgur.com 's implementation


To get started quickly, there are quite a few comprehensive uploaders on github

We use a modified version of https://github.com/blueimp/jQuery-File-Upload on http://picplum.com Signup and see how we use it. We've been told many times that we have a slick uploader :)


To get it working in three modern browsers, no.

To get it working in all the browsers that your users use, it's trickier.


nice to have, but don't see myself ever using this feature. I normally just drop files into my drive-mapped Dropbox folder.


I think that the main use comes from when you're not at your own computer. If you're at work or a friend's house, it'll be far simpler to just drag the file into the browser than to install dropbox.

I'm in that situation about four times a year and this will be a huge time saver compared to the old system.


Ahhhhhh.

They really ought to state the customer use-case on-blog, I use Dropbox on only my own computers and didn't understand the point at all.


Well, you know, you could upload from your browser before, too. While it is definitely a nice feature, it is not like it adds functionality...


None of Dropbox is new functionality that wasn't available before. Somehow they're a 4 billion dollar company.


It's really nice if you're on a friend's computer and want to copy a file to your own Dropbox account.


maybe they should change their name to draganddropbox?


Hmm.. this is a really cool feature, but I think I saw it first on http://minus.com.


Plenty of sites let you drag from your computer into your browser to upload a file, including http://imgur.com (as featured on reddit).

Dropbox is a good case because it works incredibly well and people actually use it.


Minus actually took it from Dropmocks, which was created by a Googler.

https://github.com/glenmurphy/dropmocks http://www.dropmocks.com/


It doesn't work on Safari, I guess. This is the message I get when I visit dropmocks.com:

"Sorry, our uploader doesn't yet work on your browser (which doesn't support drag and drop file uploads)"




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: