Skip to content

Latest commit

 

History

History
21 lines (16 loc) · 908 Bytes

File metadata and controls

21 lines (16 loc) · 908 Bytes

Blocking (Easy) Upload

This example shows how to use request:rawrdr() for drag and drop upload and request:multipart() for standard file upload. The two functions request:rawrdr() and request:multipart() are much easier to use than the asynchronous versions of these two functions; however, the functions require a thread enabled server such as the Mako Server.

Blocking Upload

Run the example, using the Mako Server, as follows:

cd upload/blocking
mako -l::www

For detailed instructions on starting the Mako Server, check out our command line video tutorial and review the server's command line options in our documentation.