ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: Ivan Fedorov <ns@altlinux.ru>
To: ALT Linux sysadmin discuss <sysadmins@lists.altlinux.org>
Subject: Re: [Sysadmins] ftp закачка файлов
Date: Sat, 21 Jan 2006 02:59:05 +0800
Message-ID: <43D132F9.2080804@altlinux.ru> (raw)
In-Reply-To: <43D0B8A3.6030006@soc.adm.yar.ru>

Дворников Михаил пишет:
> Мастер 2.4 + updates. FTP-сервер (vsftp).
> 
> Пользователи закачивают файлы на ftp-сервер в свои каталоги.
> После окончания закачки их файлы нужно переместить в другие каталоги.
> Как определить окончание процесса пользователем или блокировать
> еще открытые файлы?
> Не могу от пользователей требовать по окончании операции создавать
> какой-то файл.
> 
> Имитирую ситуацию:
> - закачиваю на ftp-сервер файл;
> - до окончания закачки удаляю его (с консоли);
> - не происходит разрыва соединения, передача не прерывается,
> после окончания передачи файла нет.

Если fs одна, то сначала сделай hardlink, а потом убивай файл. Но это не 
поможет, если соединение разорвется - докачивать будет некуда...


  reply	other threads:[~2006-01-20 18:59 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-20 10:17 Дворников Михаил
2006-01-20 18:59 ` Ivan Fedorov [this message]
2006-01-27  8:17 ` Afanasov Dmitry

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=43D132F9.2080804@altlinux.ru \
    --to=ns@altlinux.ru \
    --cc=sysadmins@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 sysadmins discussion

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/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 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
		sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
	public-inbox-index sysadmins

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sysadmins


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git