安裝在虛擬機的Debian6裏,地址192.168.1.183shell
1.win下命令行ftp客戶端app
可用的命令ide
- ftp> ?
- Commands may be abbreviated. Commands are:
- ! delete literal prompt send
- ? debug ls put status
- append dir mdelete pwd trace
- ascii disconnect mdir quit type
- bell get mget quote user
- binary glob mkdir recv verbose
- bye hash mls remotehelp
- cd help mput rename
- close lcd open rmdir
- ftp> !
測試:測試
- C:\Documents and Settings\Administrator>ftp 192.168.1.183
- Connected to 192.168.1.183.
- 220 (vsFTPd 2.3.2)
- User (192.168.1.183:(none)):
- 530 This FTP server is anonymous only. Login failed.
- ftp> user
- Username anonymous
- 331 Please specify the password.
- Password:
- 230 Login successful.
- ftp>
能夠匿名登陸。ui
- ftp> dir
- 200 PORT command successful. Consider using PASV.
- 150 Here comes the directory listing.
- 226 Directory send OK.
- ftp> ls
- 200 PORT command successful. Consider using PASV.
- 150 Here comes the directory listing.
- 226 Directory send OK.
列目錄。編碼
- ftp> !
- Microsoft Windows [版本 5.2.3790]
- (C) 版權全部 1985-2003 Microsoft Corp.
- C:\Documents and Settings\Administrator>exit
臨時切換到shell,exit退回到ftp模式。spa
---------------重編輯win7----------------------------命令行
- C:\Users\Administrator>ftp 192.168.1.183
- 鏈接到 192.168.1.183。
- 220 (vsFTPd 2.3.2)
- 用戶(192.168.1.183:(none)): deb6
- 331 Please specify the password.
- 密碼:
- 230 Login successful.
- ftp> ?
- 命令多是縮寫的。 命令爲:
- ! delete literal prompt send
- ? debug ls put status
- append dir mdelete pwd trace
- ascii disconnect mdir quit type
- bell get mget quote user
- binary glob mkdir recv verbose
- bye hash mls remotehelp
- cd help mput rename
- close lcd open rmdir
- ftp> !
- Microsoft Windows [版本 6.1.7600]
- 版權全部 (c) 2009 Microsoft Corporation。保留全部權利。
- C:\Users\Administrator>cd /d d:\
- d:\>mkdir down
- d:\>dir down
- 驅動器 D 中的卷是 程序盤
- 卷的序列號是 E42A-0781
- d:\down 的目錄
- 2012/06/02 12:27 <DIR> .
- 2012/06/02 12:27 <DIR> ..
- 0 個文件 0 字節
- 2 個目錄 50,045,394,944 可用字節
- d:\> exit
- ftp> dir 421 Timeout. 遠程主機關閉鏈接。(這裏超時斷開了,重寫鏈接>) ftp> dir 未鏈接。 ftp> open 192.168.1.183 鏈接到 192.168.1.183。 220 (vsFTPd 2.3.2) 用戶(192.168.1.183:(none)): deb6 331 Please specify the password. 密碼: 230 Login successful. ftp> dir (亂碼了:-<) 200 PORT command successful. Consider using PASV. 150 Here comes the directory listing. drwxr-xr-x 2 1000 1000 4096 Jun 01 13:09 涓嬭澆 drwxr-xr-x 2 1000 1000 4096 May 30 09:10 鍏叡鐨? drwxr-xr-x 2 1000 1000 4096 May 30 09:10 鍥劇墖 drwxr-xr-x 2 1000 1000 4096 Jun 01 09:12 鏂囨。 drwxr-xr-x 2 1000 1000 4096 May 30 09:10 妗岄潰 drwxr-xr-x 2 1000 1000 4096 May 30 09:10 妯℃澘 drwxr-xr-x 2 1000 1000 4096 May 30 09:10 瑙嗛 drwxr-xr-x 2 1000 1000 4096 May 30 09:10 闊充箰 226 Directory send OK. ftp: 收到 515 字節,用時 0.04秒 14.31千字節/秒。 ftp>
ftp關了匿名訪問,這裏加了個賬號deb6,如今用他連進去。debug
用個人電腦地址欄,輸入3d
ftp://deb6:密碼@192.168.1.183:21/
也能夠,21端口能夠省略,另外用戶密碼這樣容易偷窺,能夠ftp://192.168.1.183/而後在彈出框裏輸入相對好些。
若是有條件仍是用FillZilla,FlashFXP之類的吧。
並且能夠設置編碼: