FTP Server :: Winsock

This is a discussion on FTP Server :: Winsock within the Windows Programming forums, part of the Platform Specific Boards category; Hi.
I am in the predesign stage of an FTP server. My goal is to release an FTP server within ...

FTP Server :: Winsock

Hi.

I am in the predesign stage of an FTP server. My goal is to release an FTP server within a year. I have some basic questions.

First, when an FTP client sends a command, does the server read the data and then basically search the data received, which is text, from a list of FTP commands such as get, ls, etc? How does a typically transcript between an FTP client and FTP server look like?

Secondly, where is reliable source for FTP commands? I know a source for TCP/IP commands. Do you use the same commands for FTP i.e. "/get?"

Lastly, does the FTP client sends the login and password in login->password order or is it opposite?