* [Comm] Зеркалирование ftp @ 2002-09-18 10:58 Александр Никольников 2002-09-18 11:37 ` Sergey S. Skulachenko 2002-09-18 14:03 ` Andy Gorev 0 siblings, 2 replies; 9+ messages in thread From: Александр Никольников @ 2002-09-18 10:58 UTC (permalink / raw) To: community Привет ! Чем можно зеркалировать ftp ? Пробовал приспособить wget, fmirror и lftp - не вышло. Доступ в инет через прокси (squid). fmirror - понятия не имею как заставить работать. wget - не идёт дальше списка файлов. lftp - зеркалирует(команда mirror), но корёжит даты у файлов :((, хотя mget всё получает нормально. Может есть ещё какой подходящий пакет ? -- Саша ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [Comm] Зеркалирование ftp 2002-09-18 10:58 [Comm] Зеркалирование ftp Александр Никольников @ 2002-09-18 11:37 ` Sergey S. Skulachenko 2002-09-19 4:47 ` Александр Никольников 2002-09-18 14:03 ` Andy Gorev 1 sibling, 1 reply; 9+ messages in thread From: Sergey S. Skulachenko @ 2002-09-18 11:37 UTC (permalink / raw) To: community On Wed, 18 Sep 2002 16:58:28 +0600 Александр Никольников <alex@first.cb.chel.su> wrote: > Чем можно зеркалировать ftp ? > Пробовал приспособить wget, fmirror и lftp - не вышло. > Доступ в инет через прокси (squid). > > fmirror - понятия не имею как заставить работать. > wget - не идёт дальше списка файлов. > lftp - зеркалирует(команда mirror), но корёжит даты у > файлов :((, > хотя mget всё получает нормально. > > Может есть ещё какой подходящий пакет ? Уж больно хорошо это делает rsync. А раньше я был довольно упрямым поклонником mirror. Но во всех (пяти) случаях надо внимательно читать документацию. Например, я долгое время не знал, как заставить mirror работать с пассивным ftp. Ключик оказался где-то на предпоследней странице описания. Но rsync это делает лучше. _____________ С уважением, С.С.Скулаченко ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [Comm] Зеркалирование ftp 2002-09-18 11:37 ` Sergey S. Skulachenko @ 2002-09-19 4:47 ` Александр Никольников 2002-09-19 5:29 ` Sergey S. Skulachenko 2002-09-19 6:01 ` [Comm] " Ilya Palagin 0 siblings, 2 replies; 9+ messages in thread From: Александр Никольников @ 2002-09-19 4:47 UTC (permalink / raw) To: community On Wed, Sep 18, 2002 at 03:37:34PM +0400, Sergey S. Skulachenko wrote: ... > > Уж больно хорошо это делает rsync. А раньше я был довольно Непонял. Разве rsync может работать с ftp сервисом ?Ы Или ему можно подсунуть ftp-клиента в качестве remote shell ? > упрямым поклонником mirror. Но во всех (пяти) случаях надо > внимательно читать документацию. Например, я долгое время не > знал, как заставить mirror работать с пассивным ftp. Ключик > оказался где-то на предпоследней странице описания. Но rsync это > делает лучше. Судя по всему во всём виноват виндосовзский ftp-сервер (ftp.avp.ru). Ни fmirror ни mirrordir не в состоянии разобраться со списком файлов :( -- Саша ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [Comm] Зеркалирование ftp 2002-09-19 4:47 ` Александр Никольников @ 2002-09-19 5:29 ` Sergey S. Skulachenko 2002-09-19 6:19 ` Александр Никольников 2002-09-19 6:01 ` [Comm] " Ilya Palagin 1 sibling, 1 reply; 9+ messages in thread From: Sergey S. Skulachenko @ 2002-09-19 5:29 UTC (permalink / raw) To: community On Thu, 19 Sep 2002 10:47:38 +0600 Александр Никольников <alex@first.cb.chel.su> wrote: > On Wed, Sep 18, 2002 at 03:37:34PM +0400, Sergey S. Skulachenko > wrote:... > > > > Уж больно хорошо это делает rsync. А раньше я был довольно > > упрямым поклонником mirror. Но во всех (пяти) случаях надо > > внимательно читать документацию. Например, я долгое время не > > знал, как заставить mirror работать с пассивным ftp. Ключик > > оказался где-то на предпоследней странице описания. Но rsync > > это делает лучше. > > Судя по всему во всём виноват виндосовзский ftp-сервер > (ftp.avp.ru). Ни fmirror ни mirrordir не в состоянии > разобраться со списком файлов :( > Отлично всё отдаёт: -bash-2.05b$ pftp ftp.avp.ru Connected to ftp.avp.ru. 220 FTP server ready Name (ftp.avp.ru:news): anonymous 331 Anonymous login ok, send your complete email address as your password. Password: 230 Anonymous access granted, restrictions apply. Remote system type is UNIX. Using binary mode to transfer files. ftp> ls -l 227 Entering Passive Mode (195,170,248,2,247,47). 150 Opening ASCII mode data connection for file list drwxr-x--- 5 ftp ftp 512 Nov 13 2001 AutoPatches drwxr-x--- 6 ftp ftp 512 Sep 18 13:33 beta drwxr-x--- 11 ftp ftp 1024 Sep 13 17:27 docs drwxr-x--- 4 ftp ftp 512 Aug 20 12:13 patches drwxr-x--- 5 ftp ftp 512 May 21 08:51 products drwxr-x--- 3 ftp ftp 1024 Sep 13 16:32 updates drwxr-x--- 2 ftp ftp 512 Sep 15 13:01 updates_zip 226-Transfer complete. 226 Quotas off ftp> cd updates 250 CWD command successful. ftp> ls -l 227 Entering Passive Mode (195,170,248,2,200,62). 150 Opening ASCII mode data connection for file list -rw-r----- 1 ftp ftp 2474 Sep 18 16:34 avp.klb -rw-r----- 1 ftp ftp 359 Sep 18 16:34 avp.set -rw-r----- 1 ftp ftp 4606 Aug 30 12:30 avp.vnd ...... 226 Quotas off ftp> exit 221 Goodbye. -bash-2.05b$ _____________ С уважением, С.С.Скулаченко ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [Comm] Зеркалирование ftp 2002-09-19 5:29 ` Sergey S. Skulachenko @ 2002-09-19 6:19 ` Александр Никольников 2002-09-21 8:59 ` Sergey S. Skulachenko 0 siblings, 1 reply; 9+ messages in thread From: Александр Никольников @ 2002-09-19 6:19 UTC (permalink / raw) To: community On Thu, Sep 19, 2002 at 09:29:07AM +0400, Sergey S. Skulachenko wrote: ... > Отлично всё отдаёт: > -bash-2.05b$ pftp ftp.avp.ru > Connected to ftp.avp.ru. > 220 FTP server ready > Name (ftp.avp.ru:news): anonymous > 331 Anonymous login ok, send your complete email address as your > password. Password: > 230 Anonymous access granted, restrictions apply. > Remote system type is UNIX. > Using binary mode to transfer files. > ftp> ls -l Отлично, да не совсем. Замени pftp на lftp и сравни. -- Саша ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [Comm] Зеркалирование ftp 2002-09-19 6:19 ` Александр Никольников @ 2002-09-21 8:59 ` Sergey S. Skulachenko 2002-09-23 15:18 ` [Comm] " Michael Shigorin 0 siblings, 1 reply; 9+ messages in thread From: Sergey S. Skulachenko @ 2002-09-21 8:59 UTC (permalink / raw) To: community On Thu, 19 Sep 2002 12:19:30 +0600 Александр Никольников <alex@first.cb.chel.su> wrote: > On Thu, Sep 19, 2002 at 09:29:07AM +0400, Sergey S. Skulachenko > wrote:... > > Отлично всё отдаёт: > > -bash-2.05b$ pftp ftp.avp.ru > > Connected to ftp.avp.ru. > > 220 FTP server ready > > Name (ftp.avp.ru:news): anonymous > > 331 Anonymous login ok, send your complete email address as > > your password. Password: > > 230 Anonymous access granted, restrictions apply. > > Remote system type is UNIX. > > Using binary mode to transfer files. > > ftp> ls -l > > Отлично, да не совсем. > Замени pftp на lftp и сравни. > Сколько же раз Вам можно намекать на то, что некоторые сервера, которые Вы собираетесь зеркалировать, работают в пассивном режиме? Таковым сервером является, например, libra-ftpd, обслуживающая ftp.altlinux.ru. Программа, которой Вы собираетесь выполнять зеркалирование, должна учитывать это обстоятельство. Иначе Вы не сможете прочесть дерево каталогов (не выполнится команда ls -l, что Вы и наблюдаете). В примере, который я Вам привёл, она заведомо выполняется. Не уговаривайте меня отключить буковку "p" в команде pftp server. Почитайте же документацию, чтобы понять назначение ключей в программах mirror, rsync, wget и т.д. Тогда поймёте причину своих неудач. И про работу через proxy читайте. _____________ С уважением, С.С.Скулаченко ^ permalink raw reply [flat|nested] 9+ messages in thread
* [Comm] Re: Зеркалирование ftp 2002-09-21 8:59 ` Sergey S. Skulachenko @ 2002-09-23 15:18 ` Michael Shigorin 0 siblings, 0 replies; 9+ messages in thread From: Michael Shigorin @ 2002-09-23 15:18 UTC (permalink / raw) To: community [-- Attachment #1: Type: text/plain, Size: 251 bytes --] On Sat, Sep 21, 2002 at 12:59:29PM +0400, Sergey S. Skulachenko wrote: > например, libra-ftpd, обслуживающая ftp.altlinux.ru. data obsolete :-) -- ---- WBR, Michael Shigorin <mike@altlinux.ru> ------ Linux.Kiev http://www.linux.kiev.ua/ [-- Attachment #2: Type: application/pgp-signature, Size: 187 bytes --] ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [Comm] Зеркалирование ftp 2002-09-19 4:47 ` Александр Никольников 2002-09-19 5:29 ` Sergey S. Skulachenko @ 2002-09-19 6:01 ` Ilya Palagin 1 sibling, 0 replies; 9+ messages in thread From: Ilya Palagin @ 2002-09-19 6:01 UTC (permalink / raw) To: community > Судя по всему во всём виноват виндосовзский ftp-сервер (ftp.avp.ru). > Ни fmirror ни mirrordir не в состоянии разобраться со списком файлов :( > У меня это делает lftp. ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [Comm] Зеркалирование ftp 2002-09-18 10:58 [Comm] Зеркалирование ftp Александр Никольников 2002-09-18 11:37 ` Sergey S. Skulachenko @ 2002-09-18 14:03 ` Andy Gorev 1 sibling, 0 replies; 9+ messages in thread From: Andy Gorev @ 2002-09-18 14:03 UTC (permalink / raw) To: community On Wed, 18 Sep 2002 16:58:28 +0600 Александр Никольников <alex@first.cb.chel.su> wrote: > Привет ! > > Чем можно зеркалировать ftp ? > Пробовал приспособить wget, fmirror и lftp - не вышло. > Доступ в инет через прокси (squid). > > fmirror - понятия не имею как заставить работать. > wget - не идёт дальше списка файлов. > lftp - зеркалирует(команда mirror), но корёжит даты у > файлов :((, > хотя mget всё получает нормально. > > Может есть ещё какой подходящий пакет ? > mirrordir ? > -- > Саша > _______________________________________________ > Community mailing list > Community@altlinux.ru > http://www.altlinux.ru/mailman/listinfo/community -- С Уважением, Андрей Горев ^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2002-09-23 15:18 UTC | newest] Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2002-09-18 10:58 [Comm] Зеркалирование ftp Александр Никольников 2002-09-18 11:37 ` Sergey S. Skulachenko 2002-09-19 4:47 ` Александр Никольников 2002-09-19 5:29 ` Sergey S. Skulachenko 2002-09-19 6:19 ` Александр Никольников 2002-09-21 8:59 ` Sergey S. Skulachenko 2002-09-23 15:18 ` [Comm] " Michael Shigorin 2002-09-19 6:01 ` [Comm] " Ilya Palagin 2002-09-18 14:03 ` Andy Gorev
ALT Linux Community general discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 community community/ http://lore.altlinux.org/community \ mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com public-inbox-index community Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.community AGPL code for this site: git clone https://public-inbox.org/public-inbox.git