В локальной сети есть FTP-сервер и DC-хаб. Нужно сделать доступ к файлам FTP через DC-клиент.
Код: Выделить всё
# uname -v
FreeBSD 7.0-RELEASE #0: Fri Dec 12 13:09:34 UTC 2008
Код: Выделить всё
# pkg_info | grep dctc
dctc-0.84.1_1 A DirectConnect (www.neo-modus.com) text client for file sh
# dctc -n "111" -i "Me just BOT. Don't talk with me!" -e "mail@mail.ru" -d 5 -s /usr/home/ftp -a xxx.xxx.xxx.xxx -p 40000 -g xxx.xxx.xxx.xxx:411
2. microdc2
Код: Выделить всё
# pkg_info | grep microdc
microdc2-0.15.6_2 A command-line based Direct Connect client
# cat /root/.microdc2/config
set filesystem_charset cp1251
set hub_charset cp1251
set log_charset utf-8
set auto_reconnect on
set filelist_refresh_interval 600
set display searchresults
set log searchresults
share /usr/home/ftp
set downloaddir /tmp/
set listingdir /tmp/
set nick 111
#set password password
set tag clientdc
set description "Me just BOT. Don't talk with me!"
set email mail@mail.ru
set logfile /var/log/microdc.log
set slots 50
set speed LAN(T3)
set active on
set listenport 40000
connect xxx.xxx.xxx.xxx:411
Фаервол отключен вообще. Сеть есть. Клиенты в процессах висят, порты открывают, на хабе отображаются.
Если к dctc есть толковый ман, то на microdc2 лишь редкие упоминания в интернете. Где офф доки?
Прошу помощи у знающих людей... сам не осилил.