View previous topic :: View next topic |
Author |
Message |
m0n085 n00b
Joined: 06 Feb 2018 Posts: 9
|
Posted: Tue Feb 06, 2018 12:56 pm Post subject: wget can't acces to curent stage |
|
|
Hi!
I want to report problem with FTP of gentoo and wget ftp://distfiles.gentoo.org/
When i want to download via wget :
Code: |
wget ftp://distfiles.gentoo.org/releases/amd64/autobuilds/current-stage3-amd64/stage3-amd64-20180204T214502Z.tar.xz
--2018-02-06 13:28:01-- ftp://distfiles.gentoo.org/releases/amd64/autobuilds/current-stage3-amd64/stage3-amd64-20180204T214502Z.tar.xz
=> ‘stage3-amd64-20180204T214502Z.tar.xz’
Resolving distfiles.gentoo.org (distfiles.gentoo.org)... 156.56.247.195, 137.226.34.46, 64.50.233.100, ...
Connecting to distfiles.gentoo.org (distfiles.gentoo.org)|156.56.247.195|:21... failed: Connection timed out.
Connecting to distfiles.gentoo.org (distfiles.gentoo.org)|137.226.34.46|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done. ==> PWD ... done.
==> TYPE I ... done. ==> CWD (1) /releases/amd64/autobuilds/current-stage3-amd64 ...
No such directory ‘releases/amd64/autobuilds/current-stage3-amd64’.
|
BUT when I try download it via browser it's all ok.
Last edited by m0n085 on Tue Feb 06, 2018 1:33 pm; edited 1 time in total |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54236 Location: 56N 3W
|
Posted: Tue Feb 06, 2018 1:07 pm Post subject: |
|
|
m0n085,
It works without the ftp:// too. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
m0n085 n00b
Joined: 06 Feb 2018 Posts: 9
|
Posted: Tue Feb 06, 2018 1:20 pm Post subject: |
|
|
NeddySeagoon
ok, but when you try without ftp:// it's not FTP it's HTTP |
|
Back to top |
|
|
krinn Watchman
Joined: 02 May 2003 Posts: 7470
|
Posted: Tue Feb 06, 2018 5:02 pm Post subject: |
|
|
Two different services, why do you think an http link mandate the ftp presence with the same directory structure? |
|
Back to top |
|
|
Hu Moderator
Joined: 06 Mar 2007 Posts: 21630
|
Posted: Wed Feb 07, 2018 3:24 am Post subject: |
|
|
Also, if you have a working HTTP client, why would you use an FTP client? HTTP clients generally have better and more reliable support for nice features like bandwidth management and resuming interrupted downloads. |
|
Back to top |
|
|
Ant P. Watchman
Joined: 18 Apr 2009 Posts: 6920
|
Posted: Wed Feb 07, 2018 7:26 am Post subject: |
|
|
Here's what I see:
Code: | ~ $ curl -vI ftp://distfiles.gentoo.org/releases/amd64/autobuilds/current-stage3-amd64/stage3-amd64-20180204T214502Z.tar.xz
* Trying 64.50.236.52...
* TCP_NODELAY set
* Connected to distfiles.gentoo.org (64.50.236.52) port 21 (#0)
< 220-
< 220----------------------------------------------------------------------------
< 220- R S Y N C . O S U O S L . O R G
< 220- Oregon State University
< 220- Open Source Lab
< 220-
< 220- Unauthorized use is prohibited - violators will be prosecuted
< 220----------------------------------------------------------------------------
< 220-
< 220- For more information about the OSL visit:
< 220- http://osuosl.org/services/hosting
< 220-
< 220- This host is the home to the primary archives of several
< 220- projects. We would prefer that only primary/secondary
< 220- mirrors use this service. Thanks!
< 220-
< 220----------------------------------------------------------------------------
< 220-
< 220
> USER anonymous
< 331 Please specify the password.
> PASS ftp@example.com
< 230 Login successful.
> PWD
< 257 "/"
* Entry path is '/'
> CWD releases
* ftp_perform ends with SECONDARY: 0
< 550 Failed to change directory.
* Server denied you to change to the given directory
* Connection #0 to host distfiles.gentoo.org left intact
curl: (9) Server denied you to change to the given directory |
I think the notice makes it obvious they don't want people hammering their FTP server directly. If you really must do this, use one of the FTP servers actually listed on the mirrors page. |
|
Back to top |
|
|
m0n085 n00b
Joined: 06 Feb 2018 Posts: 9
|
Posted: Wed Feb 07, 2018 12:24 pm Post subject: |
|
|
I apologize for reporting a non-working service, it will not happen again.
Usaly I use OVH mirror, but for now is down.
Why I use FTP not http?... Why U use gentoo not ubuntu? |
|
Back to top |
|
|
robbat2 Developer
Joined: 19 Feb 2003 Posts: 82
|
Posted: Thu Feb 08, 2018 9:30 pm Post subject: |
|
|
<hat type="infrastructure">
There is NO official FTP service on ftp://distfiles.gentoo.org/. The hostname of distfiles.gentoo.org is DNS rotation that selects between many mirrors, intended for HTTP usage. Only some of the mirrors offer FTP, and mostly on different paths, since FTP doesn't allow virtual-hostnames like HTTP does. Some mirrors do provide FTP service, but you should use their hostnames, not distfiles.gentoo.org
If you see somewhere in the Gentoo docs that says there is FTP service on distfiles.gentoo.org, please file a bug so we can fix the docs!
Future plans call for that hostname to become a HTTP redirection service on top of GeoDNS or Anycast-IP, but mostly a dream for lack of development time.
</hat> |
|
Back to top |
|
|
|