The OpenNET Project / Index page

[ новости /+++ | форум | теги | ]

Поиск:  Каталог документации

Listing directories on the remote host

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>

[Home] [Search] [Index]



Партнёры:
PostgresPro
Inferno Solutions
Hosting by Hoster.ru
Хостинг:

Закладки на сайте
Проследить за страницей
Created 1996-2024 by Maxim Chirkov
Добавить, Поддержать, Вебмастеру