Документ взят из кэша поисковой машины. Адрес
оригинального документа
: http://comet.sai.msu.ru/UNIXhelp/guestftp/5.4.html
Дата изменения: Fri Jan 17 12:43:17 1997 Дата индексирования: Mon Oct 1 23:20:57 2012 Кодировка: Поисковые слова: п п п п п п |
(If at all possible, you should avoid using this method, as it is likely to be very slow.)
The guestftp commands push and pull are used to manipulate JANET file transfers on uk.ac.nsf.sun. Each will prompt you for the relevant information, the following piece of dialogue illustrates the push command for sending a file from the relay machine to your own JANET host. The pull command works in a similar way.
guest_ftp> push
Okay lets push a file using NIFTP:
Give local filename: foo.c Give remote filename: foo.c Give NRS name of remote host: uk.ac.ulcc Do you want binary or <default> ascii (input b or a): b Ok binary it is - input word size <default 8>: 32 Give user name on remote host: tony Give user password on remote host: password Re-type password to make sure: password Push status-> OK - Request sent to the Spooler - use "q" to check guest_ftp>
Note that when you enter passwords, they will not echo on the screen.
To check the status of files you have queued for transfer on uk.ac.nsf.sun, use the q command. Note that this is the only way to check the status - you will not receive any error message should the transfer fail. The STATUS column will indicate how the transfer is proceeding - `done' indi- cates the transfer is complete.
guest_ftp> q ID TIME QUEUED L-FILE STATE USER R-FILE 7018 Jun 19 17:20 estftp/tb/foo.c pend guestftp foo.c guest_ftp> q ID TIME QUEUED L-FILE STATE USER R-FILE 7018 Jun 19 17:20 estftp/tb/foo.c done guestftp foo.c guest_ftp>