green dotファイル転送

ファイル転送を行うコマンドとして ftp コマンドがある。
  ftp [ホストアドレス]

【例】

  $ ftp myhost
  Connected to myhost.
  220 myhost FTP server (Version wu-2.4.2...
  Name (myhost:yamada): yamada  ←リモート側のユーザ名を入力 
  331 Password required for yamada.
  Password:  ←パスワードを入力
  230 User yamada logged in.
  Remote system type is UNIX.
  Using binary mode to transfer files.
  ftp> cd work  ←ディレクトリの変更 
  250 CWD command successful.
  ftp> ls *.html
  200 PORT command successful.
  150 Opening ASCII mode data connection for /bin/ls.
  -rw-rw-r--   1 yamada   yamada      50 Oct 31 23:00 a1.html
  -rw-rw-r--   1 yamada   yamada      50 Oct 31 23:08 b1.html
  -rw-rw-r--   1 yamada   yamada      65 Oct 31 11:37 ch.html
  -rw-rw-r--   1 yamada   yamada     175 Oct 31 15:06 test.html
  226 Transfer complete.
  ftp> get test.html  ←test.htmlの受信
  local: test.html remote: test.html
  200 PORT command successful.
  150 Opening BINARY mode data connection for test.html(175 bytes)
  226 Transfer complete.
  175 bytes received in 0.349 secs (0.49 Kbytes/sec)
  ftp> quit
  $
line-end