Документ взят из кэша поисковой машины. Адрес
оригинального документа
: http://comet.sai.msu.ru/UNIXhelp/tasks/ftp2.1.3.4.html
Дата изменения: Fri Jan 17 12:43:23 1997 Дата индексирования: Tue Oct 2 01:18:58 2012 Кодировка: Поисковые слова: р п р п р п р п р п р п |
You can list the contents of a directory on the remote host. The command ls prints a short version; the command dir a longer version. You will need to give the path to the directory if it is not in your home directory on the remote host. For example:
ftp> ls 200 PORT command successful. 150 Opening ASCII mode data connection for file list. public reports 226 Transfer complete. 17 bytes received in 0.26 seconds (0.064 Kbytes/s) ftp> ftp> dir reports/quarterly 200 PORT command successful. 150 Opening ASCII mode data connection for /bin/ls total 10 -rw-rw-rw- 1 eucs99 ug 9383 Jul 18 15:59 march 226 Transfer complete. 71 bytes received in 0.26 seconds (0.27 Kbytes/s) ftp>