A
A
ankane2014-08-17 13:39:22
JavaScript
ankane, 2014-08-17 13:39:22

How does file upload work?

Interested in how the download of files from the client (browser) to the server works. The mechanism itself is of interest in order to understand the implementation of that, that is already ready. Is ajax actually not downloading files asynchronously but doing something else.

Those. I select a file on the file system in the form. I click send. What is happening at that moment?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dima Barsukov, 2014-08-17
@ankane

https://ru.wikipedia.org/wiki/Multipart/form-data
To better understand the mechanism, just look at the request body through the earnings panel in chrome or the firebug in ff when sending a post request with a file.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question