Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it possible to "upload" a file only with client side ? (no server involved)

I am trying to do a simple thing:

Let the user choose a txt file, and save its context to be used on the client side only. no server side needed.

Is it possible ?

Thanks.

like image 455
shdev Avatar asked Dec 02 '10 11:12

shdev


1 Answers

It is possible to do so with HTML5 Files API as explained in these resources:
https://developer.mozilla.org/en-US/docs/Using_files_from_web_applications
http://www.html5rocks.com/en/tutorials/file/dndfiles/

like image 133
Atharva Avatar answered Oct 08 '22 06:10

Atharva