reference of the code
Thanks to the code author
docker 镜像路径:dmlinux
odbc 接口:dm interface
Usage: Server端:./ftserver port
Client端:./ftclient host_ip:host_port
ls <dir_path> #服务器目录下的内容
upload [-f] <local_file> <remote_file> #上传文件, -f参数表示强制覆盖
download <remote_file> <local_file> #下载文件
delete <remote_file> #删除服务器上的文件
history [-n ]#操作历史查看 -n记录行数
exit #退出