ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Eugene Prokopiev <prokopiev@stc.donpac.ru>
To: ALT Linux Community <community@lists.altlinux.org>
Subject: Re: [Comm] lftp mirror
Date: Tue, 10 Jan 2006 14:21:55 +0300
Message-ID: <43C398D3.8030409@stc.donpac.ru> (raw)
In-Reply-To: <43C38915.6060604@nevod.ru>

Kostarev Alexey пишет:
> Eugene Prokopiev wrote:
> 
>>
>>>>
>>> Неплохо работает fmirror
>>
>>
>>
>> $ cat sample.conf
>> username:       anonymous
>> password:
>> host:           192.168.46.2
>> remotedir:      /hasher
>> localdir:       /home/john/1/2
>>
>> $ fmirror -f sample.conf
>> 11:24:59 /hasher @ 192.168.46.2 -> /home/john/1/2
>> 11:24:59 Connecting to 192.168.46.2...
>> 11:24:59 Connected.
>> 11:24:59 Remote timezone: 0 minutes from GMT
>> 11:24:59 `FFF' size = 0 is missing, getting.
>> 11:24:59 Getting file 'FFF' size = 0
>>
>> 11:24:59 Transfer rate:     0.00 kb/sec lastfile,      0.00 kb/sec 
>> overall
>> 11:24:59 Mirror finished.
>>
>> Поддиректории hasher не копируются :(
>>
> А какаово содержимое /hasher - я к тому - откуда берется файл FFF 
> нулевого размера.

а это я его сделал с помощью touch

> Кстати - каталог /hasher не должен создаваться - содержимое каталога 
> /hasher должно копироваться в каталог /home/john/1/2/

я так и думал, но этого не происходит

> Я обычно использую fmirror с доступом к реальному пользователю и 
> указываю полную тропу.

так у меня тоже полная

> Может в remotedir убрать / ?

пробовал, не помогает

> Кстати - поддерживает ли 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>

Вообще, устроил бы и wget, но он не умеет удалять локальные файлы, 
отсутствующие на сервере

-- 
С уважением, Прокопьев Евгений


  reply	other threads:[~2006-01-10 11:21 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 [this message]
2006-01-10 11:44         ` Kostarev Alexey
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=43C398D3.8030409@stc.donpac.ru \
    --to=prokopiev@stc.donpac.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