我正在使用简单的url连接。 telnet命令适用于URL,因此url是正确的,但它仍然提供此异常
<div id="centerme">
<ul class="firstlist">
<a class="alist" href="http://www.coopertimewell.com">
<li class="listl" id="image">
<img id="headlogo" src="images/logotestme.png" />
</li>
</a>
</ul>
</div>
<ul class="secondlist">
<a class="alist" href="#">
<li class="listli" id="home"><strong>HOME</li></a>
<a class = "alist" href = "http://www.coopertimewell.com/about"><li class = "listli" id = "about">ABOUT ME</li></a>
<a class = "alist" href = "http://www.coopertimewell.com/work"><li class = "listli" id = "work">PORTFOLIO</li></a>
<a class = "alist" href = "http://www.coopertimewell.com/contact"><li class = "listli" id = "contact">CONTACT</li></a>
</ul>
我正在使用以下代码 -
Exception calling "DownloadString" with "1" argument(s): "The remote server returned an error: (404) Not Found."
CategoryInfo: NotSpecified: (:) [],MethodInvocationException
FullyQualifiedErrorId: WebException