Getting Started

Getting Started — Figuring out what your server sub-class needs

The Protocol

For the purposes of this tutorial, we will use the FLP (File Leaching Protocol) featured in Chapter , Client Application Tutorial. As noted, FLP has four commands sent in raw ASCII:

CommandSuccess ReplyError Replies

LOGIN {username} {passwd}

FLP LOGGED_INFLP BADUSERPASS

GET {filename} {offset}

FLP STARTGET {file size}

FLP NOTFOUND, FLP BADPERMS, FLP DONEGET

STOP

FLP STOPPEDFLP NOTRANSFER

QUIT

(None)(None)
?(None)FLP UNKNOWN