|
ru.unix.bsd- RU.UNIX.BSD ------------------------------------------------------------------ From : Artem Ignatiev 2:5095/20.2 07 Jul 2005 17:49:01 To : Andrey Ivanov Subject : ftp upload + crontab -------------------------------------------------------------------------------- 06 Jul 05, 14:22:29 Andrey Ivanov общал All пpо всяких "ftp upload + crontab"... AI> From: "Andrey Ivanov" <aivanov@damen-okean.com> AI> Всем привет. AI> Hе получается по расписанию копировать файл на фтп-сервер: AI> 00 00 * * * echo -e "binary\nput AI> /home/someuser/backup/somefile.tgz\nquit\n" AI> | ftp -i ftp://someuser:somepassword@some.ftp.server Зачем всё это? $ man ftp /-u ftp -u URL file [...] n -u URL file [...] Upload files on the command line to URL where URL is one of the ftp URL types as supported by auto-fetch (with an optional tar- get filename for single file uploads), and file is one or more local files to be uploaded. q $ uname -sr FreeBSD 5.3-STABLE Hа 4.9 так нельзя, да. Зато есть, напpимеp, ftp/wput Artem --- RavelQUILL 2.0b6LT for Macintosh * Origin: Enthalpy (2:5095/20.2) Вернуться к списку тем, сортированных по: возрастание даты уменьшение даты тема автор
Архивное /ru.unix.bsd/2731796c15b7.html, оценка из 5, голосов 10
|