jennifer249 / ftp Goto Github PK
View Code? Open in Web Editor NEW在linux系统下,用c语言实现主动被动文件传输
在linux系统下,用c语言实现主动被动文件传输
由于需要检测系统的用户名和密码,需要在root模式下开启服务器 编译: gcc -lcrypt -o f -g fserver.c 运行:./f 客户端进入: ftp 127.0.0.1 8000 实现的命令:login、pwd、bye、get、put、type、passive、system、mkdir、cd、ls 附加功能说明: 1、实现了ftp的主动模式、被动模式 2、可匿名登陆,而匿名登陆的用户要使用命令会被要求正常登陆 3、mkdir的权限管理,只能主目录下创建目录,不能向上级目录创建 4、登陆的用户和密码来自linux系统,通过/etc/shadow验证密码,因此只能在root模式下开启ftp服务器
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.