Главная страница


ru.unix.bsd

 
 - RU.UNIX.BSD ------------------------------------------------------------------
 From : Andrey Ivanov                        2:5020/400     06 Jul 2005  14:22:29
 To : All
 Subject : ftp upload + crontab
 -------------------------------------------------------------------------------- 
 
 Всем привет.
 Hе получается по расписанию копировать файл на фтп-сервер:
 
 00 00 * * * echo -e "binary\nput /home/someuser/backup/somefile.tgz\nquit\n" 
 | ftp -i ftp://someuser:somepassword@some.ftp.server
 
 в ответ получаю:
 
 Connected to some.ftp.server
 220 some.ftp.server FTP server (Version 6.00LS) ready.
 331 Password required for someuser.
 230 User someuser logged in.
 Remote system type is UNIX.
 Using binary mode to transfer files.
 200 Type set to I.
 500 'CWD ': command not understood.
 CWD command not recognized, trying XCWD.
 500 'XCWD ': command not understood.
 
 ftp: The `CWD ' command (without a directory), which is required by
      RFC 1738 to support the empty directory in the URL pathname (`//'),
      conflicts with the server's conformance to RFC 959.
      Try the same URL without the `//' in the URL pathname.
 
 221 Goodbye.
 
 Где ошибся, не понимаю. 
 
 --- ifmail v.2.15dev5.3
  * Origin: Demos online service (2:5020/400)
 
 

Вернуться к списку тем, сортированных по: возрастание даты  уменьшение даты  тема  автор 

 Тема:    Автор:    Дата:  
 ftp upload + crontab   Andrey Ivanov   06 Jul 2005 14:22:29 
 Re: ftp upload + crontab   Slava Kokorin   06 Jul 2005 15:21:23 
 Re: ftp upload + crontab   Mykola Dzham   06 Jul 2005 15:22:24 
 Re: ftp upload + crontab   Andrew Noga   07 Jul 2005 02:58:25 
 Re: ftp upload + crontab   Sergey Melnikov   07 Jul 2005 07:44:26 
 ftp upload + crontab   Artem Ignatiev   07 Jul 2005 17:49:01 
Архивное /ru.unix.bsd/6577cd46346e.html, оценка 1 из 5, голосов 10
Яндекс.Метрика
Valid HTML 4.01 Transitional