$ ftp -i -v -n 121.15.145.7 <<END_FTP
user vh492377 123456
bin
cd www/bbs
put view.html
END_FTP
Connected to 121.15.145.7 (121.15.145.7).
220---------- Welcome to Pure-FTPd [privsep] [TLS] ----------
220-You are user number 2 of 50 allowed.
220-Local time is now 11:11. Server port: 21.
220-IPv6 connections are also welcome on this server.
220 You will be disconnected after 15 minutes of inactivity.
Remote system type is UNIX.
Using binary mode to transfer files.
331 User vh492377 OK. Password required
230-User vh492377 has group access to: vh492377
230 OK. Current restricted directory is /
200 TYPE is now 8-bit binary
250 OK. Current directory is /www/bbs
local: view.html remote: view.html
227 Entering Passive Mode (121.15.145.7,176,210)
150 Accepted data connection
226-File successfully transferred
226 0.054 seconds (measured here), 1.87 Mbytes per second
105229 bytes sent in 0.0344 secs (3062.81 Kbytes/sec)
221-Goodbye. You uploaded 103 and downloaded 0 kbytes.
221 Logout.
欢迎光临 曲径通幽论坛 (http://www.groad.net/bbs/) | Powered by Discuz! X3.2 |