[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: wget fails in Debian Jessie



> > > Instead of returning the main page, it just returns:
> > > 
> > > <html><head><title>Object moved</title></head><body>
> > > <h2>Object moved to <a href="/portal/">here</a>.</h2>
> > > </body></html>
> 
> This is most probably the sign of a redirect (see below)
> 
> [...]
> 
> > Well, for starters, try using the URL
> > https://mytotalconnectcomfort.com/portal/ (note trailing slash) as
> > suggested by the error message.
> 
> This might be a good check.

No, I had already tried that.
 
> >                                   Alternatively, there might also be a
> > curl option to automatically follow redirects.
> 
> There is: it's option -L (or --location). Additionally, you can set the
> maximum number of redirects to follow with --max-redirs

That did it!  Thanks.


Reply to: