[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wget
Subject:    RE: Skip certain includes
From:       "Tony Lewis" <tlewis () exelana ! com>
Date:       2008-01-24 16:19:43
Message-ID: 3cfd01c85ea4$ee9c5750$cbd505f0$ () com
[Download RAW message or body]

This is a multipart message in MIME format.


Wayne Connolly wrote:

 

> Thanks mate- i know we chatted on IRC but just thought someone

> else may be able to provide some insight.

 

OK. Here's some insight: wget is essentially a web browser. If the URL
starts with "http", then wget sees the exact same content as Internet
Explorer, Firefox, and Opera (except in cases where the server customizes
its content to the user agent - in those cases you may have to tweak the
user agent to see the same content).

 

If the files are visible to FTP, then try using wget with a URL starting
with "ftp" instead.  Otherwise, if you want to mirror the files as they
appear on the server, you will have to use something like scp to transfer
the files directly from Server A to Server B.

 

Tony

 


[Attachment #3 (text/html)]

<html xmlns:v="urn:schemas-microsoft-com:vml" \
xmlns:o="urn:schemas-microsoft-com:office:office" \
xmlns:w="urn:schemas-microsoft-com:office:word" \
xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" \
xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Verdana;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
	{mso-style-priority:34;
	margin-top:0in;
	margin-right:0in;
	margin-bottom:0in;
	margin-left:.5in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
span.EmailStyle17
	{mso-style-type:personal-reply;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-size:10.0pt;}
@page Section1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
	{page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><span \
style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>Wayne Connolly \
wrote:<o:p></o:p></span></p>

<p class=MsoNormal><span \
style='font-size:11.0pt;font-family:"Calibri","sans-serif"'><o:p>&nbsp;</o:p></span></p>


<p class=MsoNormal><span \
style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>&gt; </span><span \
style='font-size:10.0pt;font-family:"Verdana","sans-serif"'>Thanks mate- i know we \
chatted on IRC but just thought someone<o:p></o:p></span></p>

<p class=MsoNormal><span \
style='font-size:10.0pt;font-family:"Verdana","sans-serif"'>&gt; else may be able to \
provide some insight.</span><span style='font-size:11.0pt; \
font-family:"Calibri","sans-serif"'><o:p></o:p></span></p>

<p class=MsoNormal><span \
style='font-size:11.0pt;font-family:"Calibri","sans-serif"'><o:p>&nbsp;</o:p></span></p>


<p class=MsoNormal><span \
style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>OK. Here&#8217;s some \
insight: wget is essentially a web browser. If the URL starts with \
&#8220;http&#8221;, then wget sees the exact same content as Internet Explorer, \
Firefox, and Opera (except in cases where the server customizes its content to the \
user agent &#8211; in those cases you may have to tweak the user agent to see the \
same content).<o:p></o:p></span></p>

<p class=MsoNormal><span \
style='font-size:11.0pt;font-family:"Calibri","sans-serif"'><o:p>&nbsp;</o:p></span></p>


<p class=MsoNormal><span \
style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>If the files are visible \
to FTP, then try using wget with a URL starting with &#8220;ftp&#8221; instead. \
&nbsp;Otherwise, if you want to mirror the files as they appear on the server, you \
will have to use something like scp to transfer the files directly from Server A to \
Server B.<o:p></o:p></span></p>

<p class=MsoNormal><span \
style='font-size:11.0pt;font-family:"Calibri","sans-serif"'><o:p>&nbsp;</o:p></span></p>


<p class=MsoNormal><span \
style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>Tony</span><o:p></o:p></p>


<p class=MsoNormal>&nbsp;<o:p></o:p></p>

</div>

</body>

</html>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic