>спасибо всем за помощь!
>только вот у меня логин/пароль при входе на
бред, ftp.ru.freebsd.org пускает anonymous:
[unix1]~ > uname -nrsp
FreeBSD unix1.jinr.ru 5.4-RELEASE-p6 i386
[unix1]~ > traceroute ftp.ru.freebsd.org
traceroute: Warning: ftp.ru.freebsd.org has multiple addresses; using 213.24.208.27
traceroute to ftp.gamma.ru (213.24.208.27), 64 hops max, 40 byte packets
1 159.93.44.1 (159.93.44.1) 0.766 ms 1.029 ms 0.720 ms
2 jinr-gw-1 (159.93.15.1) 0.538 ms 0.421 ms 0.378 ms
3 159.93.2.2 (159.93.2.2) 1.187 ms 0.819 ms 1.244 ms
4 Jinr-gw-3.dubna.ru (159.93.160.2) 3.946 ms 3.680 ms 3.727 ms
5 MSK-M9-RBNet-3.RBNet.ru (195.209.14.155) 5.081 ms 4.540 ms 6.256 ms
6 195.161.4.117 (195.161.4.117) 6.527 ms 51.152 ms 5.099 ms
7 217.106.0.122 (217.106.0.122) 4.575 ms 5.035 ms 4.095 ms
8 217.106.0.122 (217.106.0.122) 4.580 ms 5.479 ms 5.685 ms
9 newsfeed.gamma.ru (194.186.254.21) 9.829 ms 5.177 ms 11.595 ms
10 ftp.gamma.ru (213.24.208.27) 8.831 ms 5.805 ms 10.612 ms
[unix1]~ >
[unix1]~ > echo default login anonymous password lavr@ >> .netrc
в файл .netrc (его chmod должен быть 600) заносим дефолтные
значения для анонимного входа куда угодно, команда выше.
default login anonymous password lavr@
---------------------------------^^^^^- большинство анонимных ftp
требуют указания email или name@ в качестве пароля
в качестве login - можно ftp или anonymous
В FreeBSD большинство ftp клиентов (практически ВСЕ) by default
используют файл .netrc, если он есть - man ftp
[unix1]~ > ftp ftp.ru.freebsd.org
Trying 194.186.254.27...
Connected to ftp.gamma.ru.
220 ftp.gamma.ru FTP server ready.
331 Guest login ok, send your complete e-mail address as password.
230- Welcome ftp.gamma.ru/{ftp,ftp1}.ru.freebsd.org.
230- There are 7 users in your class (maximum 80).
230- Local time is Tue Jan 17 14:05:42 2006.
230-
230- All transfers are logged with your host name and email address.
230- If you don't like this policy, disconnect now!
230-
230- Please do NOT use clients which open up multiple connections
230- to this server - it will result in your ISP being banned.
230-
230- If your FTP client crashes or hangs shortly after login, try using
230- a dash (-) as the first character of your password. This will turn off
230- the informational messages which may be confusing your ftp client.
230-
230- 100Mbps services provided by Rostelecom/Internet Centre.
230- For more information, please visit http://www.rt.ru/.
230-
230- Please send mail to <ivt@gamma.ru> if you experience any problems.
230-
230- For more information about Gamma, please visit http://www.gamma.ru/.
230-
230 Guest login ok, access restrictions apply.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> bye
221-You have transferred 0 bytes in 0 files.
221-Total traffic for this session was 1242 bytes in 0 transfers.
221-Thank you for using the FTP service on ftp.gamma.ru.
221 Goodbye.
[unix1]~ >
>ftp://ftp.ru.freebsd.org/pub/FreeBSD-Archive/old-releases/i386/4.9-RELEASE/packages/Latest/
>просит... анонимно залогиться не могу =(
>не подскажите где зарегаться нужно?
[alone]~ > ftp ftp.ru.freebsd.org
Trying 194.67.80.52...
Connected to ftp.gamma.ru.
220 ftp.gamma.ru FTP server ready.
Name (ftp.ru.freebsd.org:lavr): ftp
--------------------------------^^^
331 Guest login ok, send your complete e-mail address as password.
Password: lala@
^^^^^^^^^^^^^^^
230- Welcome ftp.gamma.ru/{ftp,ftp1}.ru.freebsd.org.
230- There are 9 users in your class (maximum 80).
230- Local time is Tue Jan 17 14:10:19 2006.
230-
230- All transfers are logged with your host name and email address.
230- If you don't like this policy, disconnect now!
230-
230- Please do NOT use clients which open up multiple connections
230- to this server - it will result in your ISP being banned.
230-
230- If your FTP client crashes or hangs shortly after login, try using
230- a dash (-) as the first character of your password. This will turn off
230- the informational messages which may be confusing your ftp client.
230-
230- 100Mbps services provided by Rostelecom/Internet Centre.
230- For more information, please visit http://www.rt.ru/.
230-
230- Please send mail to <ivt@gamma.ru> if you experience any problems.
230-
230- For more information about Gamma, please visit http://www.gamma.ru/.
230-
230 Guest login ok, access restrictions apply.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> bye
221-You have transferred 0 bytes in 0 files.
221-Total traffic for this session was 1236 bytes in 0 transfers.
221-Thank you for using the FTP service on ftp.gamma.ru.
221 Goodbye.
[alone]~ >
файл .netrc используется когда нужно работать с ftp в batch-mode
или чтобы забыть про интерактивный LOGIN