How does Dropbox.com upload multiple files function?

The Dropbox website interface allows you to upload multiple files from the same dialog box.

How it works? Is this some kind of advanced HTML tag? Or fancy javascript? Or an embedded Flash / Java application?

This is awesome, and I did not think it was really possible!

Please inform.

+3
source share
3 answers

Last time I checked, it was Flash. It uses the ActionScripts FileReference class. Check out http://swfupload.org/ if you want to add this functionality to your application.

, , , . java- , , . Flash , :

  • FileDialog
  • , , -

, , .

+3

... upload files, , -. - -.

:

<form action="file-upload.php" method="POST" enctype="multipart/form-data">
Send these files:<br>
<input name="userfile[]" type="file"><br>
<input name="userfile[]" type="file"><br>
<input type="submit" value="Send files">

-upload.php .

javascript.

html.

0

(dropbox - , ) Flash / .

, AJAX,

google ajax upload SWF-, -. , ( , ).

0

Source: https://habr.com/ru/post/1795601/


All Articles