May 2020
Intermediate to advanced
530 pages
17h 8m
English
The client part of our server can be implemented in different languages and with different technologies that support the HTTP protocol. The most straightforward implementation of the client application can be written with HTML and Javascript. We can use such a client with any modern browser.
There will be two files in our client application. The first one will be the index.html file, which should contain the definition of a simple web page with a form for uploading files. The following code shows how we can write this file:
<html lang="en"> <head> <title>Upload Files</title> </head> <body> <form method="post" enctype="multipart/form-data"> <input type="file" name="files[]" multiple> <input type="submit" value="Upload File" name="submit"> ...
Read now
Unlock full access