sadik7266 / jquery-multifile-plugin

Automatically exported from code.google.com/p/jquery-multifile-plugin
0 stars 0 forks source link

Something is wrongly stated in the documentation #98

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
"Javascript is a client side language and cannot upload files - this plugin 
will only go as far as helping the user select the files to upload and 
assisting in the validation process by warning the user of common mistakes 
before server-side validation takes place. When the form is submitted, it's up 
to you to have a server-side script that will actually upload the files." 

I underline : "a server-side script that will actually upload the files."

Maybe I'm wrong, but it's not the server, but the client (the browser) who 
actually uploads the files to the web server with a correct POST multi-part, 
request. Uploading mean you own the file, and then you send it. The server 
can't upload anything you don't send. It will just have to consider what you 
send. That would be a great security risk if the server can upload any of your 
files ! And obviously, the HTTP client-server protocol states that client makes 
requests, not the server.

Yes, Javascript can upload files, that's just what you can see on gmail when 
you add attachment and they upload asynchronously on the server, without 
manually submitting the form.

While I agree that once the files are sent, the job is not done, some server 
side coding is necessary, but files needs to be sent first.

Original issue reported on code.google.com by dvaldena...@gmail.com on 30 Oct 2010 at 7:19

GoogleCodeExporter commented 8 years ago
The project has been dormant for over a year and many of the support requests 
have been resolved and/or are invalid. So we're going to archive them all, 
pending review.

If you're still having a problem with the plugin, please visit the project page 
and re-open the issue. We do apologize for any inconvenience this may cause, 
but please bear with us...  we'll be making improvements to the plugin and its 
documentation over the coming weeks.

Stay tuned; and thanks for your support!

The Fyneworks Team
http://twitter.com/fyneworks

Original comment by fyneworks on 26 Jan 2012 at 1:37