Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
wget can't acces to curent stage
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
m0n085
n00b
n00b


Joined: 06 Feb 2018
Posts: 9

PostPosted: Tue Feb 06, 2018 12:56 pm    Post subject: wget can't acces to curent stage Reply with quote

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
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54210
Location: 56N 3W

PostPosted: Tue Feb 06, 2018 1:07 pm    Post subject: Reply with quote

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
View user's profile Send private message
m0n085
n00b
n00b


Joined: 06 Feb 2018
Posts: 9

PostPosted: Tue Feb 06, 2018 1:20 pm    Post subject: Reply with quote

NeddySeagoon

ok, but when you try without ftp:// it's not FTP it's HTTP
Back to top
View user's profile Send private message
krinn
Watchman
Watchman


Joined: 02 May 2003
Posts: 7470

PostPosted: Tue Feb 06, 2018 5:02 pm    Post subject: Reply with quote

Two different services, why do you think an http link mandate the ftp presence with the same directory structure?
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21591

PostPosted: Wed Feb 07, 2018 3:24 am    Post subject: Reply with quote

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
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 6920

PostPosted: Wed Feb 07, 2018 7:26 am    Post subject: Reply with quote

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
View user's profile Send private message
m0n085
n00b
n00b


Joined: 06 Feb 2018
Posts: 9

PostPosted: Wed Feb 07, 2018 12:24 pm    Post subject: Reply with quote

I apologize for reporting a non-working service, it will not happen again. :roll:


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
View user's profile Send private message
robbat2
Developer
Developer


Joined: 19 Feb 2003
Posts: 82

PostPosted: Thu Feb 08, 2018 9:30 pm    Post subject: Reply with quote

<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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum