lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Feb 25, 2011, at 10:57 AM, Sebastien Lai wrote:

> The reason I haven't added it yet is simply because I have no idea where to
> start with it, or how File uploads are supposed to be implemented...
> maybe someone can shed some light on this issue?

Look into multipart/form-data:

http://www.faqs.org/rfcs/rfc2388.html

Here is an usage example:

http://dev.alt.textdrive.com/browser/HTTP/HTTP.lua#L198
http://dev.alt.textdrive.com/browser/HTTP/MIME.lua#L189