From: Afanasov Dmitry <ender@altlinux.org> To: sysadmins@lists.altlinux.org Subject: Re: [Sysadmins] ftp-server + кирилица Date: Thu, 26 Nov 2009 11:36:17 +0300 Message-ID: <20091126083614.GA10972@ender.fondinvestrk.ru> (raw) In-Reply-To: <hek69h$sv4$1@ger.gmane.org> [-- Attachment #1: Type: text/plain, Size: 1027 bytes --] On Wed, Nov 25, 2009 at 11:06:46PM +0200, Jurij Bogaevs'kyj wrote: > Подскажите пожалуйста, есть у нас в данный момент фтп-сервер, который > нормально работает с кирилическими именами файлов (отображение, > скачивание, закачивание)? для решения данной проблемы есть три способа: - поддержка команда протокола opts utf8 on - перекодировка на лету. - кодировка файловой системы одинаоковя, что и на клиенте первые две функции должен поддерживать сервер, opts utf8 on обязан поддерживать клиент. к слову - до сих не все клиенты его поддерживают. сервера - vsftpd, proftpd, pure-ftpd точно знают opts utf8. > Что бы у клиентов виндовых не возникало > проблем с кодировкой, а также не нужно было бы каждый раз менять > кодировку в браузере при просмотре страницы. самый стабильный способ - третий. и на win и на lin сделать cp1251 и никаких проблем не будет. если на lin хочется utf8, тогда opts utf8 on, но с ним не все клиенты адекватно себя ведут, например: lftp -- С уважением Афанасов Дмитрий [-- Attachment #2: Digital signature --] [-- Type: application/pgp-signature, Size: 198 bytes --]
next prev parent reply other threads:[~2009-11-26 8:36 UTC|newest] Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top 2009-11-25 21:06 Jurij Bogaevs'kyj 2009-11-25 21:31 ` Led 2009-11-26 3:46 ` REAL 2009-11-26 8:36 ` Afanasov Dmitry [this message] 2009-11-26 16:37 ` Jurij Bogaevs'kyj 2009-11-26 17:02 ` Andrey Rahmatullin 2009-11-26 17:23 ` Michael A. Kangin 2009-11-26 18:00 ` Andrey Rahmatullin 2009-11-27 6:41 ` Michael A. Kangin 2009-11-27 9:20 ` Aksarin Alexander 2009-11-26 17:29 ` Michael A. Kangin 2009-11-27 6:15 ` Afanasov Dmitry 2009-11-27 14:14 ` Jurij Bogaevs'kyj 2009-11-27 13:47 ` Jurij Bogaevs'kyj 2009-11-27 10:04 ` Anton Farygin
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=20091126083614.GA10972@ender.fondinvestrk.ru \ --to=ender@altlinux.org \ --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