Цитата:
P@ketik:
Я хотел сделать чтобы скорость закачки пользователя user с одного IP не привышала определенной скорости и не зависила от кол-ва потоков, будь, то 5 или 1 поток.
|
Я написал письмо куда надо с обсуждением этой проблемы. Буду ждать ответа и добиваться введения ещё одной опции...
Цитата:
P@ketik:
а насчет неправильного определения размера файлов подсказать ничего не можете, а то я уже вообще в шоке. Неужто баги браузеров?
|
Сделай мне логин у себя там где глючит, я посмотрю

Думаю всё же, это 100% глюк браузеров.
Цитата:
DreamSworK:
Может кто-то сможет мне толково объяснить, как связать базу MySQL с Serv-U FTP (версия 6.2.0.1)??? Задача такова: есть уже существующий сайт на php и MySQL, с определённым кол-вом акаунтов, как сделать так чтобы только определённые пользователи этого сайта имели доступ к ftp-серверу? И при регистрации на нём автоматически создавался акаунт на сервере? Если можно поподробней, плиз...
|
Я могу. Берешь и запускаешь Serv-U Administrator. Нажимаешь F1. Идешь раздел:
Domain (Domain Parameters)
Там написано:
Domain type
The third option is to store user and group accounts in an ODBC database (Corporate Edition only). When this option is selected a tab appears to specify the ODBC data source. Database storage means accounts can be added/edited/deleted through the Administrator program as well as directly by a database management program. It is fast, and there is no limit to the number of accounts that can be stored.
А когда ты сделаешь домен, который будет работать через базу данных, то там будет вкладка ODBC, где устанавливаются все переменный базы данных относительно переменных Serv-U.
В Help это раздел:
Domain ODBC (Domain Parameters)
По факту.
Ты подключаешь Serv-U к базе данных сайта.
Указываешь переменный сайта относительно переменных Serv-U.
Создаешь в базе данных сайта дополнительную колонку, где будет указано TRUE или FALSE, что означает, имеет права данный пользователь на вход на FTP или нет.
Данная строка на вкладке ODBC называется:
Column name of account enable/disable
This field is used in the user accounts table and is optional. It is used to disable (TRUE) or enable (FALSE) the account. It is a boolean field.
И вперед, делаем чтобы администратор сайта мог в профиле пользователя устанавливать данную опцию.
Делаем страницу по настройке пользователей или управляем через phpmyadmin.
А вообще, читай
Domain ODBC (Domain Parameters) там всё написано.
Serv-U has been tested with a number of popular data sources, including the powerful freeware MySQL server, MS SQL Server, MS Access, and Oracle. Sample databases, corresponding Serv-U settings, and utilities are available from the Add-On pages on the Serv-U Web site:
http://www.serv-u.com/addons.asp
The way Serv-U uses an ODBC data source is very flexible. Tables and columns can be named any way you wish, as little as just username/password/home directory/access can be stored in a single table, or as much as every setup option available for accounts, and within reason database data types are automatically mapped to Serv-U’s types.
There are two options in the domain’s Advanced settings tab that can be of particular use to ODBC domains. In case passwords should be stored in clear-text rather than the default encrypted format, uncheck the ‘Store passwords in encrypted form’ option.
The other option is ‘
Account cache time-to-live’. This sets the number of seconds Serv-U should cache the user or group information before re-reading it from the database. The default for ODBC domains is 60 seconds.
This means it can take up to 60 seconds before the server sees any changes made to the database accounts by external programs. Lowering this value means changes are seen more rapidly by the server. The downside of this is increased database access and overhead.
Эта опция указывает, как часто Serv-U будет считывать новую информацию из база данных сайта.