From: Kostarev Alexey <kaf@nevod.ru> To: ALT Linux Community <community@lists.altlinux.org> Subject: Re: [Comm] lftp mirror Date: Tue, 10 Jan 2006 16:44:43 +0500 Message-ID: <43C39E2B.5020702@nevod.ru> (raw) In-Reply-To: <43C398D3.8030409@stc.donpac.ru> [-- Attachment #1: Type: text/plain, Size: 1176 bytes --] Eugene Prokopiev wrote: > >> Кстати - поддерживает ли FTP-сервер команду >> ls -lR ? > > > $ ftp -p 192.168.46.2 > Connected to 192.168.46.2 (192.168.46.2). > 220 (vsFTPd 1.2.2) > Name (192.168.46.2:john): anonymous > 331 Please specify the password. > Password: > 230 Login successful. > Remote system type is UNIX. > Using binary mode to transfer files. > ftp> ls -lR > 227 Entering Passive Mode (192,168,46,2,228,0) > 150 Here comes the directory listing. > drwxr-xr-x 4 ftp ftp 4096 Jan 10 10:04 hasher > 226 Directory send OK. > ftp> > Ну дык - в этом-то и дело - ls -lR должен выдавать РЕКУРСИВНЫЙ список содержимого директория - мы же видим список только текущего уровня - то есть проблема в FTP-сервере. Посмотрите флаг -c или параметр конфигурации dircmd: Проблема в том, как заставить FTP-севрер выдать рекурсивный список содержимого. Как вариант в man'е предлагается формировать на сервере файлик ls-lR и запрашивать для получения списка этот файлик через RETR > Вообще, устроил бы и wget, но он не умеет удалять локальные файлы, > отсутствующие на сервере > Да я тоже это пытался первоначално использовать... -- С Уважением Костарев А.Ф. [-- Attachment #2: kaf.vcf --] [-- Type: text/x-vcard, Size: 202 bytes --] begin:vcard fn:Alexey Kostarev n:Kostarev;Alexey org:Nevod Ltd. adr:;;;Perm;;;Russia email;internet:kaf@nevod.ru tel;work:(3422) 196-960 url:http://www.nevod.ru/nevod/staff/kaf/ version:2.1 end:vcard
next prev parent reply other threads:[~2006-01-10 11:44 UTC|newest] Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top 2006-01-10 7:09 Eugene Prokopiev 2006-01-10 7:14 ` Kostarev Alexey 2006-01-10 8:31 ` Eugene Prokopiev 2006-01-10 10:14 ` Kostarev Alexey 2006-01-10 11:21 ` Eugene Prokopiev 2006-01-10 11:44 ` Kostarev Alexey [this message] 2006-01-10 16:56 ` Eugene Prokopiev
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=43C39E2B.5020702@nevod.ru \ --to=kaf@nevod.ru \ --cc=community@lists.altlinux.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
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