return function (connection, args) connection:send("HTTP/1.0 200 OK\r\nContent-Type: text/html\r\nCache-Control: private, no-store\r\n\r\n") connection:send('Server File Listing') connection:send('') coroutine.yield() connection:send('

Server File Listing

') local remaining, used, total=file.fsinfo() connection:send("Total size: " .. total .. " bytes
\n") connection:send("In Use: " .. used .. " bytes
\n") connection:send("Free: " .. remaining .. " bytes
\n") connection:send("

\n") connection:send("Files:
\n") connection:send("

\n") connection:send("

\n") connection:send('') end