PSP-HTTPD v0.2
Created by Elxx
http://elxx.net
________________

Configuration:

Open the config.txt file to change basic settings. The first line denotes which WLAN connection will be used (the app will list them for you when starting). The second line chooses the chunk size (in bytes) for sending binary files. You may need to guess and check when selecting which value works best. If higher values cause transfers to frequently fail, lower the chunk size. However, the smaller you choose, the slower file transfers will be.

It is recommended that you configure your PSP's network settings to use a static IP. This way, you know a single IP that you can always use for your PSP inside your network.

________________

Usage:

Launch LuaPlayer, navigate to PHP-HTTPD in Lowser, and press Circle. The app will load, basic info will be printed and then the server will start. Your WLAN light should turn green and stay green if the server has successfully connected to your router.

If the light turns off, press START to end the server and try again.

To begin browsing, simply launch your web browser on a computer within the network and go to the PSP's IP. A folder/file listing should pop up and you will be able to browse. Remember that this is an early beta, so hiccups may occur.

You can stop the server at any time by going to http://your.psp.ip/finish or simply pressing Start on the PSP. This may bring up an error, but just press Start again if needed and LuaPlayer will return back to Lowser.

________________

Debugging Messages:

When transferring a file, a series of | and . will be printed. At each attempt to send a chunk of data, | will be printed. If the chunk is successfully sent, it will be succeeded by a period (.) . However, if the chunk is not send, the PSP will continue to try to send it up to fifty times, with 50 milliseconds between each attempt, which will be shown by additional |'s. If it is unable to do so, an X will be printed and file transfer will be aborted. This may be due to network problems such as bad Wi-Fi reception. Stop the current browser request and try again.

_________________

Changelog:

0.2
---
* Chunk size no longer internally set as 1024
* Default chunk size increased from 512 to 1024
* File transfer error correction improved considerably, transfer rates of 20KB/s + usable now without frequent corruption
* MIME type checking no longer case-sensitive, so files such as test.HtMl will still display
* File size added to files in directory view
* When browsing a directory with an index.htm file, the index.htm will be shown instead of directory listing

0.1
---

Initial Release