Страница 1 из 1

FTP не пускает

Добавлено: 19 окт 2015, 09:29
cargo29
Здравствуйте, все борюсь с ftp прописал пробную учетку в open server. root 1234.
в роутере открыл порт 21 правильно? при попытке подключения через проводник или в странице браузера, запрашивает логин и пароль, ввожу их и он снова запрашивает логин и пароль (пробовал с разных браузеров) в инструкции ничего толком не сказано про FTP да и настроек минимум там ничего сложного.

Добавлено: 19 окт 2015, 17:11
Максим
Так может вы на FTP роутера попадаете.

Добавлено: 19 окт 2015, 17:50
cargo29
на нем такой функции нет, да и с телефона пробовал, сайт открывает через инет а вот так же запрашивает логин пароль ввожу и заново спрашивает

Добавлено: 19 окт 2015, 22:12
Максим
Ну так значит нет такого пользователя или вводимые данные неверны. Покажите конфиг ftp сервера уже готовый после запуска. Он в папке с ftp модулем.

Добавлено: 20 окт 2015, 07:58
cargo29
OpenServer\modules\ftp

Вот данные из файла FileZilla Server.xml
  • <!--
    #
    # ВНИМАНИЕ! Это временный файл, его редактирование бессмысленно!
    #
    -->
    <FileZillaServer>
    <Settings>
    <Item name="Admin port" type="numeric"></Item>
    <Item name="Admin Password" type="string"></Item>
    <Item name="Admin IP Bindings" type="string"></Item>
    <Item name="Admin IP Addresses" type="string">127.0.0.1</Item>
    <Item name="Allow Incoming FXP" type="numeric">0</Item>
    <Item name="Allow outgoing FXP" type="numeric">0</Item>
    <Item name="Allow shared write" type="numeric">1</Item>
    <Item name="Active ignore local" type="numeric">1</Item>
    <Item name="Autoban enable" type="numeric">1</Item>
    <Item name="Autoban attempts" type="numeric">30</Item>
    <Item name="Autoban type" type="numeric">0</Item>
    <Item name="Autoban time" type="numeric">1</Item>
    <Item name="Allow explicit SSL" type="numeric">1</Item>
    <Item name="Buffer Size" type="numeric">32768</Item>
    <Item name="Custom PASV IP type" type="numeric">0</Item>
    <Item name="Custom PASV IP" type="string"></Item>
    <Item name="Custom PASV min port" type="numeric">10000</Item>
    <Item name="Custom PASV max port" type="numeric">65535</Item>
    <Item name="Custom PASV IP server" type="string">http://open-server.ru/ip/</Item>
    <Item name="Use custom PASV ports" type="numeric">1</Item>
    <Item name="Disable IPv6" type="numeric">1</Item>
    <Item name="Enable logging" type="numeric">1</Item>
    <Item name="Enable SSL" type="numeric">1</Item>
    <Item name="Enable HASH" type="numeric">0</Item>
    <Item name="Force explicit SSL" type="numeric">0</Item>
    <Item name="Force PROT P" type="numeric">0</Item>
    <Item name="Implicit SSL ports" type="string">990</Item>
    <Item name="Initial Welcome Message" type="string">Welcome to FTP server!</Item>
    <Item name="IP Bindings" type="string">*</Item>
    <Item name="IP Filter Allowed" type="string"></Item>
    <Item name="IP Filter Disallowed" type="string"></Item>
    <Item name="Hide Welcome Message" type="numeric">0</Item>
    <Item name="Login Timeout" type="numeric">60</Item>
    <Item name="Logsize limit" type="numeric">0</Item>
    <Item name="Logfile type" type="numeric">0</Item>
    <Item name="Logfile delete time" type="numeric">0</Item>
    <Item name="Maximum user count" type="numeric">0</Item>
    <Item name="Mode Z Use" type="numeric">0</Item>
    <Item name="Mode Z min level" type="numeric">1</Item>
    <Item name="Mode Z max level" type="numeric">9</Item>
    <Item name="Mode Z allow local" type="numeric">1</Item>
    <Item name="Mode Z disallowed IPs" type="string"></Item>
    <Item name="Number of Threads" type="numeric">2</Item>
    <Item name="No Transfer Timeout" type="numeric">600</Item>
    <Item name="No Strict In FXP" type="numeric">0</Item>
    <Item name="No Strict Out FXP" type="numeric">0</Item>
    <Item name="Network Buffer Size" type="numeric">65536</Item>
    <Item name="No External IP On Local" type="numeric">0</Item>
    <Item name="Serverports" type="string">21</Item>
    <Item name="SSL Key file" type="string">f:\openserver\userdata\config\server.key</Item>
    <Item name="SSL Certificate file" type="string">f:\openserver\userdata\config\server.crt</Item>
    <Item name="SSL Key Password" type="string"></Item>
    <Item name="Service name" type="string"></Item>
    <Item name="Service display name" type="string"></Item>
    <Item name="Show Pass in Log" type="numeric">0</Item>
    <Item name="Timeout" type="numeric">60</Item>
    <Item name="Use GSS Support" type="numeric">1</Item>
    <Item name="GSS Prompt for Password" type="numeric">1</Item>
    <Item name="Download Speedlimit Type" type="numeric">0</Item>
    <Item name="Upload Speedlimit Type" type="numeric">0</Item>
    <Item name="Download Speedlimit" type="numeric">0</Item>
    <Item name="Upload Speedlimit" type="numeric">0</Item>
    <SpeedLimits>
    <Download />
    <Upload />
    </SpeedLimits>
    </Settings>
    <Users>
    <User Name="cargo29">
    <Option Name="Pass">e947caa999e507963751655fb22b5976</Option>
    <Option Name="Bypass server userlimit">1</Option>
    <Option Name="Comments"></Option>
    <Option Name="Enabled">1</Option>
    <Option Name="ForceSsl">0</Option>
    <Option Name="Group"></Option>
    <Option Name="IP Limit">0</Option>
    <Option Name="User Limit">0</Option>
    <IpFilter>
    <Disallowed />
    <Allowed />
    </IpFilter>
    <Permissions>
    <Permission Dir="c:/disk/">
    <Option Name="AutoCreate">0</Option>
    <Option Name="DirCreate">1</Option>
    <Option Name="DirDelete">1</Option>
    <Option Name="DirList">1</Option>
    <Option Name="DirSubdirs">1</Option>
    <Option Name="FileAppend">1</Option>
    <Option Name="FileDelete">1</Option>
    <Option Name="FileRead">1</Option>
    <Option Name="FileWrite">1</Option>
    <Option Name="IsHome">1</Option>
    </Permission>
    </Permissions>
    <SpeedLimits>
    <Download />
    <Upload />
    </SpeedLimits>
    </User>
    <User Name="root">
    <Option Name="Pass">81dc9bdb52d04dc20036dbd8313ed055</Option>
    <Option Name="Bypass server userlimit">1</Option>
    <Option Name="Comments"></Option>
    <Option Name="Enabled">1</Option>
    <Option Name="ForceSsl">0</Option>
    <Option Name="Group"></Option>
    <Option Name="IP Limit">0</Option>
    <Option Name="User Limit">0</Option>
    <IpFilter>
    <Disallowed />
    <Allowed />
    </IpFilter>
    <Permissions>
    <Permission Dir="c:/disk/music/">
    <Option Name="AutoCreate">0</Option>
    <Option Name="DirCreate">0</Option>
    <Option Name="DirDelete">0</Option>
    <Option Name="DirList">1</Option>
    <Option Name="DirSubdirs">1</Option>
    <Option Name="FileAppend">0</Option>
    <Option Name="FileDelete">0</Option>
    <Option Name="FileRead">1</Option>
    <Option Name="FileWrite">0</Option>
    <Option Name="IsHome">1</Option>
    </Permission>
    </Permissions>
    <SpeedLimits>
    <Download />
    <Upload />
    </SpeedLimits>
    </User>
    </Users></FileZillaServer>

Добавлено: 20 окт 2015, 14:46
Максим
Я проверил ваш конфиг, с ним всё прекрасно работает, подключается и авторизуется. Ищите проблему в другом месте.

Добавлено: 20 окт 2015, 16:17
cargo29
Хм, порт на роуторе нужно открывать 21? странно антивирус выбулен, бранмауер тоже.