In the first command I specify the HTTP directory and the server redirects to HTTPS but doesn't find the TOC file.
In the second command, I specify the HTTPS directory and all is good.
Code:
. net from http://www.pauldickman.com/strs/
file http://www.pauldickman.com/strs/stata.toc not found
server says file permanently redirected to https://www.pauldickman.com/strs/stata.toc
http://www.pauldickman.com/strs/ either
1) is not a valid URL, or
2) could not be contacted, or
3) is not a Stata download site (has no stata.toc file).
current site is still https://www.pauldickman.com/strs/
r(601);
. net from https://www.pauldickman.com/strs/
--------------------------------------------------------------------------------------------------------------------------------------------
https://www.pauldickman.com/strs/
Stata programs by Paul Dickman and Enzo Coviello
--------------------------------------------------------------------------------------------------------------------------------------------
PACKAGES you could -net describe-:
strs Commands for estimating and modelling relative survival
--------------------------------------------------------------------------------------------------------------------------------------------The following is even stranger. The .toc file cleary exists, but when I specify only a directory the server redirects to the parent of that directory.
Code:
. net describe https://www.pauldickman.com/strs/stata.toc
--------------------------------------------------------------------------------------------------------------------------------------------
package stata.toc from https://www.pauldickman.com/strs
--------------------------------------------------------------------------------------------------------------------------------------------
TITLE
Stata programs by Paul Dickman and Enzo Coviello
DESCRIPTION/AUTHOR(S)
p strs Commands for estimating and modelling relative survival
INSTALLATION AND ANCILLARY FILES
(none)
--------------------------------------------------------------------------------------------------------------------------------------------
. net describe https://www.pauldickman.com/strs/
file https://www.pauldickman.com/stata.toc not found
https://www.pauldickman.com/ either
1) is not a valid URL, or
2) could not be contacted, or
3) is not a Stata download site (has no stata.toc file).
current site is still https://www.pauldickman.com/strs/
r(601);As it is, users can't install or update my commands.
And yes, I should have tested this before migrating. I used my new site for a week on a test server, but this was an aspect I neglected to test.
0 Response to net problems (can't find stata.toc)
Post a Comment