Документ взят из кэша поисковой машины. Адрес
оригинального документа
: http://comet.sai.msu.ru/UNIXhelp/tasks/ftp2.3.1.html
Дата изменения: Fri Jan 17 12:43:24 1997 Дата индексирования: Tue Oct 2 00:10:27 2012 Кодировка: |
To send a single file from your current directory on the local host to the current directory on the remote host:
ftp> send afile
This copies the file afile from your current directory on the local host to your current directory on the remote host.
If you don't give a name for the remote-file the name of the local-file you are copying is used to name the remote-file.
To use file pathnames to define both the local-file and the remote-file:
ftp> put REPORTS/april reports/month4
This copies the contents of the file april in the sub-directory REPORTS, which is in your current directory on the local host to the file month4 in the sub-directory reports, which is in your login directory on the remote host.
To send multiple files to a remote host:
ftp> mput *.xdh mput index.xdh?
This prompts you to confirm for each file with the extension *.xdh in the subdirectory help on your local host that it is to be copied to your current directory on the remote host.
Entering a y copies the file; an n cancels this.