username@debian:~$ su
Password:
debian:/home/username# ftp hostname //连接服务器主机
Connected to host.
220-===============
220-
220- Welcome to xxxx Student FTP/WWW Server
Name (hostname:username): yourname //输入用户名
331 Please specify the password.
Password: // 输入密码
230 Login OK, used 153M of 300M.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> put linux上文件所在路径/文件名 服务器上的路径/文件名----上传文件命令
下载就用get