Implement an FTP server (no threads) - how to start?

Posted by ironicaldiction on Programmers See other posts from Programmers or by ironicaldiction
Published on 2014-06-03T22:00:23Z Indexed on 2014/06/04 3:37 UTC
Read the original article Hit count: 134

Filed under:
|
|

As a semester project, I have the following specification:

Write a simple single threaded ftp server. The ftp server is configurable from a configuration file. The config allows to set the interface (where the server listens), the roots of the served content, transfer log, and database of users and its passwords. The server allows to create a virtual filesystem. By a virtual filesystem, we mean a mapping of a served directory to the real directory on the filesystem. For example, the client tree will look like: /home/user1 maps to /mnt/x/home/user1 /www maps to /var/cache/www /home/user_list.txt maps to /var/ftpclient/user_list.txt The user will see /home/user1 directory and /www directory and the file /home/user_list.txt

The course is in C++. The projects to this point have provided a lot of structure, such as a class header file to get you started on the program. My question is this: how can I get started on what seems like quite a massive project (I have 3 weeks to return a working implementation)?

© Programmers or respective owner

Related posts about c++

Related posts about project-management