Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Wed 23 Apr 2014, 20:06
All times are UTC - 4
 Forum index » Off-Topic Area » Programming
wget problem in script (Solved)
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [1 Post]  
Author Message
PaulR

Joined: 04 May 2005
Posts: 241
Location: UK

PostPosted: Fri 17 May 2013, 13:37    Post subject:  wget problem in script (Solved)  

Is it possible to use wget to get a dynamically generated page? I'm trying to get something like this:

wget --output-document=mydoc.txt http://www.example.com/test.aspx?id=1&name=fred

The command works and saves the content to a file as I wanted but wget just doesn't terminate (even when I try this from the command line rather than in a script). I suspect it's the ? and & characters that are causing the problem, if so is it possible to 'escape' these.

Pre-post edit: I just put the url in quotes and it works properly. Doh!

Leaving the post here as it might help someone else who is as thick as me!

Paul
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [1 Post]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Off-Topic Area » Programming
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0566s ][ Queries: 12 (0.0266s) ][ GZIP on ]