473,396 Members | 1,714 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Unable to download some HTML files

Hello.

I am trying to download individual HTML pages useing a program called WGET
on a Linux machine. The WGET fetches typed in URL and stores as source
code into a directory. This works ok for older, unintelligent HTML pages,
but I am having trouble with a newer version.
The URL LINK is as follows.
<a class="dropDown"
href="http://www.foosite.com/foo?action=go_types&class_id=2">

I send & as hex.
I know all after ? is/are Query String , but am not sure what that means .
ARE they sent as is or are they manipulated by browser software
beforehand?
WGET is sending every thing between second quotes.
I have found no reference in HTML literature to the item in LINK of
class="dropDown"
and would appreciate a point in the right direction.

Thanks in anticipation.
Barry.
Replies to pe******@uko2.com

xxx=pan


Jul 20 '05 #1
2 3680
BAZZER wrote:
<a class="dropDown"
href="http://www.foosite.com/foo?action=go_types&class_id=2">

I know all after ? is/are Query String , but am not sure what that
means.
It is information sent as part of the url.
ARE they sent as is or are they manipulated by browser software
beforehand?


They are (may be?) encoded by the browser before being sent, as with any
url. Otherwise, the browser does nothing with them. The server typically
does something with them, like querying a database and producing a
document, or conducting a search, or performing some other task.

--
Brian (remove "invalid" from my address to email me)
http://www.tsmchughs.com/
Jul 20 '05 #2
BAZZER wrote:
Hello.

I am trying to download individual HTML pages useing a program called WGET
on a Linux machine. The WGET fetches typed in URL and stores as source
code into a directory. This works ok for older, unintelligent HTML pages,
but I am having trouble with a newer version.
The URL LINK is as follows.
<a class="dropDown"
href="http://www.foosite.com/foo?action=go_types&class_id=2">

I send & as hex.
don't. quote it like this:
http://www.foosite.com/foo\?action=g...s\&class_id\=2

if you plan on looking at this document locally, i'd suggest using this
command:

wget -pE http://www.foosite.com/foo\?action=g...s\&class_id\=2

if you want it to follow the links in that page, i'd suggest this:

wget -np -mrpKE http://www.foosite.com/foo\?action=g...s\&class_id\=2
I know all after ? is/are Query String , but am not sure what that means .
ARE they sent as is or are they manipulated by browser software
beforehand?
generally, they're sent as part of the GET request. the RFC for HTTP
would answer your question more specifically.
WGET is sending every thing between second quotes.
I have found no reference in HTML literature to the item in LINK of
class="dropDown"
and would appreciate a point in the right direction.

it's the CSS class specified to act on the <a> tag. it has to do with
the way the link looks in your browser. wget couldn't care less what it is.
Jul 20 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Mads | last post by:
Hi we see some strange behavior with the latest version of our deployment package Background We have a .Net product that is deployed via a website. Developed with VS.Net 2003, the deployment...
22
by: EP | last post by:
When running my asp.net hosting service (asp.net without IIS), on server 2003 with IIS not installed, I get the following when trying to process a request. "System.DllNotFoundException: Unable to...
1
by: Dan | last post by:
Environment: Win2k Server, ASP.NET(v1.1.4322) Everything seemed to work fine till this morning...and than this happened What could this possibly mean? Is it the file? (The file in the error...
0
by: Buddy Home | last post by:
Hello, I'm trying to upload a file programatically and occasionally I get the following error message. Unable to write data to the transport connection: An established connection was aborted...
3
by: Buddy Home | last post by:
Hello, I'm trying to upload a file programatically and occasionally I get the following error message. Unable to write data to the transport connection: An established connection was aborted...
0
by: rkgarimella9 | last post by:
Hi All, I'm encountering with an error countinously whenver i'm trying to Add an Web Reference to my Windows Application. The details are as follows:- Unable to download following files from...
5
by: kailashchandra | last post by:
I am trying to upload a file in php,but it gives me error msg please Help me? My Code is like below:- i have one php file named upload.php and i have another html file named upload.html and...
1
KevinADC
by: KevinADC | last post by:
Note: You may skip to the end of the article if all you want is the perl code. Introduction Many websites have a form or a link you can use to download a file. You click a form button or click...
7
freddieMaize
by: freddieMaize | last post by:
Hi, my first day in designing. Since I’m not a very good designer I tried copying a template from the net. Below is my problem. I saved the below web page,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.