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 Fri 31 Oct 2014, 06:43
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 Posts_count_1  
Author Message
PaulR

Joined: 04 May 2005
Posts: 246
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:   Sort by:   
Page 1 of 1 Posts_count_1  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Off-Topic Area » Programming
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


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