接続とログイン

$ ftp 192.168.0.2
Connected to 192.168.0.2.
220 (vsFTPd *.*.*)
530 Please login with USER and PASS.
530 Please login with USER and PASS.
KERBEROS_V4 rejected as an authentication type
Name (192.168.0.2:user): user
331 Please specify the password.
Password:
230 Login successful.
Remote system type is UNIX.
Using binary mode to transfer files.

リモートのファイルリストを見る

ftp> ls

ローカルのファイルリストを見る

ftp> !ls

リモートのディレクトリを変更する

ftp> cd public_html

ローカルのディレクトリを変更する

ftp> lcd public_html

ファイルをGETする

ftp> get list.txt

ファイルをまとめてGETする

ftp> mget *.txt

ファイルをPUTする

ftp> put list.txt

ファイルをまとめてPUTする

ftp> mput *.txt

ディレクトリを作成する

ftp> mkdir public_html

接続を終了する

ftp> quit

トップ   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS