2023_open_source_contest_preliminary_1st_issue3

This commit is contained in:
Oscar 2023-10-04 15:29:39 +08:00
parent 9330ed4402
commit 3f7862ebc7
1 changed files with 4 additions and 4 deletions

View File

@ -18,7 +18,7 @@
`ListCurrentDirectory`Implement the ls command to display the files and directories in the current directory <br />
`ChangeDirectory`Run the cd command to go to the target directory <br />
`Quit`Log out of the server <br />
`TestFTPClient`The function we used to test FTP client, realized . <br />
`TestFTPClient`The function we used to test FTP client, realized the function required by the contest. <br />
## 3. 测试程序说明
@ -28,14 +28,14 @@
## 4. 运行结果(##需结合运行测试截图按步骤说明##
在运行前需要在ARM终端插入SD Card并确保可以使用。 <br />
① 编译及开启本地FTP服务器准备<br />
![image](pre1-EnableLwIP.JPG) <br />
![image](pre1-enableLwIP.JPG) <br />
menuconfig中使能LwIP网络协议栈与SD CARD device。
![image](pre2-ConfigOpen.JPG) <br />
打开menuconfig之后将test ftp client开启(y),保存后退出
![image](pre3-CompileSuccess.JPG) <br />
使用
如果需要调整服务器的IP地址或者数据端口号等只需要在test_ftpclient.c文件的TestFTPClient函数中修改对应位置变量即可使用
“make BOARD=edu-arm32 distclean <br />
make BOARD=edu-arm32 menuconfig <br />
make BOARD=edu-arm32”命令编译XiZi-edu-arm32.bin成功编译得到的“XiZi-edu-arm32.bin”文件我们已附在文件夹中供评委检验。 <br />
@ -65,7 +65,7 @@ win+R输入inetmgr打开IIS管理器设置站点名称、IP地址、存储物
![image](07-downloading4.png) <br />
![image](08-downloading5.png) <br />
![image](09-downloading6.png) <br />
输入执行TestFTPClient命令ARM终端作为客户端开始访问服务器端下载指定的10个大小为4KB的.txt文件。对于每个文件的数据端口访问及接受数据、下载情况打印出的提示信息中均有详细解释。 <br />
我们使用了XShell 7进行交互。输入执行TestFTPClient命令ARM终端作为客户端开始访问服务器端下载指定的10个大小为4KB的.txt文件。对于每个文件的数据端口访问及接受数据、下载情况打印出的提示信息中均有详细解释。 <br />
![image](10-downloadedFileList.png) <br />
下载完成后再次使用ls命令展示ARM终端作为客户端访问服务器端下载指定的10个大小为4KB的.txt文件可以看到相比最开始终端上多了10个大小为4KB的文件即一开始存放在本地FTP服务器中的10个文件。 <br />