Consol FTP
linux command 상에서 ftp 명령어를 통해 타 서버에 접속하여 파일을 보내거나 다운로드 할 수 있다.
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 |
[root@blog data]# ftp -p blog.ingenious.kr Connected to blog.ingenious.kr (xxx.xxx.xxx.xxx). 220---------- Welcome to Pure-FTPd [privsep] [TLS] ---------- 220-You are user number 1 of 50 allowed. 220-Local time is now 09:26. Server port: 21. 220-This is a private system - No anonymous login 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. ftp> user User Password 331 User User OK. Password required 230 OK. Current restricted directory is / ftp> bi 200 TYPE is now 8-bit binary ftp> put blog_ingenious_kr.tgz local: blog_ingenious_kr.tgz remote: blog_ingenious_kr.tgz 227 Entering Passive Mode (xxx.xxx.xxx.xxx.xxx.xxx) 150 Accepted data connection 226-File successfully transferred 226 0.874 seconds (measured here), 110.48 Mbytes per second 101206159 bytes sent in 0.84 secs (120534.61 Kbytes/sec) ftp> exit 221-Goodbye. You uploaded 98835 and downloaded 0 kbytes. 221 Logout. |
FTP command option
[table id=2 /]
Ftp access and Options
이와 같이 command 상에서 ftp <Enter> 후 ? <Enter> 을 하면 명령어 리스트를 볼수 있다.
[table id=3 /]