Initialize project structure with essential files including .gitignore, .python-version, README.md, main.py, prompt.md, and pyproject.toml.

This commit is contained in:
suyiiyii 2025-06-24 22:20:51 +08:00
commit 950ecbf580
Signed by: suyiiyii
GPG Key ID: 044704CB29B8AD85
6 changed files with 29 additions and 0 deletions

10
.gitignore vendored Normal file
View File

@ -0,0 +1,10 @@
# Python-generated files
__pycache__/
*.py[oc]
build/
dist/
wheels/
*.egg-info
# Virtual environments
.venv

1
.python-version Normal file
View File

@ -0,0 +1 @@
3.13

0
README.md Normal file
View File

6
main.py Normal file
View File

@ -0,0 +1,6 @@
def main():
print("Hello from cn-design-ftp!")
if __name__ == "__main__":
main()

5
prompt.md Normal file
View File

@ -0,0 +1,5 @@
| 设计题目 | **编程实现 FTP 服务器 ★★★** |
| ---------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| 已知技术参数和设计要求 | 设计要求1.客户端通过 Windows 的命令行访问 FTP 服务器。2.FTP 服务器可以并发地服务多个客户。3.至少实现对 FTP 命令 user、pass、dir、get 的支持。即用户注册、显示服务器端的文件列表、下载文件等。4.FTP 服务器必须对出现的问题或错误做出响应。 |
| 设计内容与步骤 | 1. 参考相关的 RFC熟悉 FTP 规范2. 学习多线程机制3. FTP 服务器结构设计4. FTP 服务器程序设计5. FTP 服务器程序调试6. 课程设计任务书。 |
| 设计工作计划与进度安排 | 1.Socket 程序设计 4 小时 2.程序调试调试方法 4 小时 3.FTP 规范 4 小时 4.FTP 服务器结构设计 4 小时 5.FTP 服务器程序设计与调试 14 小时 6.课程设计报告 5 小时 |

7
pyproject.toml Normal file
View File

@ -0,0 +1,7 @@
[project]
name = "cn-design-ftp"
version = "0.1.0"
description = "Add your description here"
readme = "README.md"
requires-python = ">=3.13"
dependencies = []