I've used the following: 0047: SITE="http://wwwapps.ups.com/WebTracking/" 0048: PART1="OnlineTool?submit=Track&InquiryNumber1=":TRKID 0049: PART2="&InquiryNumber2=&InquiryNumber3=&InquiryNumber4=" 0050: PART3="&InquiryNumber5=&TypeOfInquiryNumber=T" 0051: PART4="&ups_HTML_License=":ACCESSKEY 0052: FULLREQ=SITE:PART1:PART2:PART3:PART4 0053: CMD='/usr/mbin/wget -q -O - "':FULLREQ:'"' 0054: EXECUTE "SH -c '":CMD:"'" CAPTURING JUNK 0055: HTML=JUNK
The -q put in quiet mode, and the -O sends the output to a file, which in this case is "-" or STDOUT which gets captured by CAPTURING, and returned to UV George > -----Original Message----- > From: [email protected] [mailto:u2-users- > [email protected]] On Behalf Of [email protected] > Sent: Thursday, June 25, 2009 9:13 AM > To: U2 Users List > Subject: [U2] wGet question for Robert Porter > > Sorry, this is a re-post with a more specific subject > > >I have opted for the wGet method. > >I give up trying to make any other version work. This one does with > >one very minor exception. I redirect the output to a type 1 file. > >Problem is, the filename it creates is > 50 characters in length and > >I can't read or delete it from Universe. > > > >Is there an option somehow that I can't see that will let me > >specifically name that file it gets? > > > > > > > > > > > > > >At 6/23/2009 04:15 PM, you wrote: > >>I should have mentioned that wget runs on Windows too. > >> > >>I've also heard of cURL. I'm not sure if we started doing stuff like > this > >>before cURL came out or not, it's just the particular tool we ended > up > >>using for that job and it's useful so we keep using it for more stuff > as > >>it comes up. It may or may not be as good as, or better than, cURL, > but > >>we haven't yet come across a need for functionality that isn't in > wget. > >> > >>Maybe it's just me but I find the callHTTP stuff fiddly and obscure. > >>Somehow it's usually easier to do an EXECUTE "sh -c wget...." and > capture > >>the output to a file in a directory that's set up as a type 19 file. > >> > >> > >>Dave Barrett, > >>Lawyers' Professional Indemnity Company > >>_______________________________________________ > >>U2-Users mailing list > >>[email protected] > >>http://listserver.u2ug.org/mailman/listinfo/u2-users > >> > >>__________ Information from ESET NOD32 Antivirus, version of virus > >>signature database 4183 (20090624) __________ > >> > >>The message was checked by ESET NOD32 Antivirus. > >> > >>http://www.eset.com > > > >Curt Lashley > >2803 North Boulevard > >Tampa, FL 33602 > >Cell: (813) 293-2878 or (800) 886-2878 > >Home: (813) 226-2878 or (800) 524-2878 > >Fax: (813) 229-2878 > > > >_______________________________________________ > >U2-Users mailing list > >[email protected] > >http://listserver.u2ug.org/mailman/listinfo/u2-users > > > >__________ Information from ESET NOD32 Antivirus, version of virus > >signature database 4186 (20090624) __________ > > > >The message was checked by ESET NOD32 Antivirus. > > > >http://www.eset.com > > > > > > Curt Lashley > 2803 North Boulevard > Tampa, FL 33602 > Cell: (813) 293-2878 or (800) 886-2878 > Home: (813) 226-2878 or (800) 524-2878 > Fax: (813) 229-2878 > > _______________________________________________ > U2-Users mailing list > [email protected] > http://listserver.u2ug.org/mailman/listinfo/u2-users _______________________________________________ U2-Users mailing list [email protected] http://listserver.u2ug.org/mailman/listinfo/u2-users
