lua-users home
lua-l archive

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



On Sep 21, 2009, at 10:34 PM, Pierre LeMoine wrote:

remote file storage of course =p do you have any superior alternative to recommend?

"Superiority" is in the eyes of the beholder, but more contemporary alternatives would include WebDAV and SFTP (not to be confused with FTPS) as mentioned by Javier and Peter.

WebDAV is rather straightforward to get going.

For illustration purpose, here is a pure Lua implementation, part of Nanoki, a little wiki engine implemented in Lua:

http://dev.alt.textdrive.com/browser/HTTP/HTTP.lua
http://dev.alt.textdrive.com/browser/HTTP/WikiDAV.lua
http://dev.alt.textdrive.com/browser/HTTP/WikiDAV.txt

Online demo:

http://svr225.stepx.com:3388/

Most modern OSs support WebDAV directly (e.g. davfs, "Web Folder", etc). For example, in Mac OS X, the above URL is mounted directly in the Finder as a shared drive.

Xavante sports a WebDAV handler as well:

http://luaforge.net/plugins/scmcvs/cvsweb.php/xavante/src/webdav/?cvsroot=xavante

HTH.

Cheers,

--
PA.
http://alt.textdrive.com/nanoki/