comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: URL Parsing for wget in IDL
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: URL Parsing for wget in IDL [message #54843 is a reply to message #54842] Tue, 17 July 2007 10:06 Go to previous messageGo to previous message
Ben Panter is currently offline  Ben Panter
Messages: 102
Registered: July 2003
Senior Member
Allan Whiteford wrote:

> Maybe I'm misunderstanding your problem but if you're just spawning wget
> then adding the /sh keyword might fix most of your problems.
>
> e.g.:
>
> url=' http://www.google.co.uk/webhp?ie=UTF-8&oe=UTF-8&hl=e n&q=&tab=iw'
>
> spawn,'wget '+url ; doesn't work
> spawn,'wget '+url,/sh ; works

Hi Allan,

Thanks, but I'm afraid that doesn't help - the /sh keyword isn't
necessary as I use an option on the wget (-o) that pipes it to stdout.
There is no problem with the wget operation as long as there is no _ in
the query string, the problem is when I want to send the query itself as
a URL - hence all spaces turn into %20, and + and ? confuse the cgi
script at the other end. If the URL is encoded properlly, this is not a
problem - the other end can decode it fine... but the encoding is an issue.

Thanks for the suggestion though!

Ben

--
Ben Panter, Edinburgh, UK.
Email false, http://www.benpanter.co.uk
or you could try ben at ^^^^^^^^^^^^^^^
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: widget_table
Next Topic: Re: why is amoeba not working ??

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sat Oct 18 04:46:23 PDT 2025

Total time taken to generate the page: 0.88097 seconds