Re: Trying to use WGET as a poor mans proxy

2006-01-30 Thread Gisle Vanem

"Bruso, John" <[EMAIL PROTECTED]> wrote:


I'm trying to get wget to go fetch a url like this:

http://voap.weather.com/weather/oap/82801?template=GENXV&par=null&unit=0

 &key=63c4c2fa0cd55c5f42d6e20a7e56586f


but, WGET isn't recognizing some of the parameters in the URL.

Is it possible for WGET to grab a URL like this?


You ought to know that '&' is interpreted as a command-separator
under cmd. Use wget "url..." to fix.

--gv


Trying to use WGET as a poor mans proxy

2006-01-30 Thread Bruso, John








Hi,

 

I’m trying to
get wget to go fetch a url like this:

 

http://voap.weather.com/weather/oap/82801?template=GENXV&par=null&unit=0&key=63c4c2fa0cd55c5f42d6e20a7e56586f

 

but, WGET isn’t
recognizing some of the parameters in the URL.

 

Is it possible for
WGET to grab a URL like this?

 

Here’s the error
message I get back from WGET.

 

C:\Program
Files\wget>wget --post-data
'template=GENXV&par=null&unit=0&key=63c4c

2fa0cd55c5f42d6e20a7e56586f'
\ http://voap.weather.com/weather/oap/82801?

wget: unrecognized
option `--post-data'

Usage: wget
[OPTION]... [URL]...

 

Try `wget --help' for
more options.

'par' is not
recognized as an internal or external command,

operable program or
batch file.

'unit' is not
recognized as an internal or external command,

operable program or
batch file.

'key' is not
recognized as an internal or external command,

operable program or
batch file.

 

 

Thanks,

 

John

 

    


 
  
  John
  Bruso
  IS Developer
  Sheridan College
  [EMAIL PROTECTED]
  www.sheridan.edu
   
  
  
  Information & Technology
  Services
  P. O. Box 1500
  Sheridan, WY  82801-1500
  ph  307.674-6446-2608
  fax 307.674.4293