Re: [U2] Mailing List Hacked
Having read and seen what people have said I understand now. My apologies to the group. I had no idea our actual email addresses showed up on Google searches. No wonder this happened. At 4/19/2011 01:11 PM, you wrote: To my knowledge, the list hasn't been hacked, nor has anyone subscribed and sent phishing attempts through the list. It is being mirrored/archived via Nabble and a couple of others, I believe, which may be the source of the email harvesting. Larry Hiscock Moderator -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Robert Porter Sent: Tuesday, April 19, 2011 5:28 AM To: U2 Users List Subject: Re: [U2] Mailing List Hacked I was about to mention that... his email address appears in 3+ dozen pages in google. So unless there's some other evidence, I'm not worrying about the list being hacked. Robert >>> George Gallen 4/19/2011 7:26 AM >>> not to mention that the list is on search engines as well > -Original Message- > From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users- > boun...@listserver.u2ug.org] On Behalf Of Jeffrey Butera > Sent: Tuesday, April 19, 2011 7:27 AM > To: u2-users@listserver.u2ug.org > Subject: Re: [U2] Mailing List Hacked > > On 04/19/2011 07:22 AM, u2list0...@curt.com wrote: > > I just received a phishing attack addressed to my U2 Mailing list > > email address. > > That doesn't mean the list was "hacked" (eg: found a way to scrape > addresses from the outside). Anyone can join the list, harvest email > from it and then use it for bad things. I've seen this before on other > high-traffic lists I'm on. > > > -- > Jeffrey Butera > Manager of ERP Systems > Hampshire College > 413-559-5556 > > ___ > U2-Users mailing list > U2-Users@listserver.u2ug.org > http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users 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 U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
[U2] Mailing List Hacked
I just received a phishing attack addressed to my U2 Mailing list email address. ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] uvRunCommand Question for Brian
IBM explained why the subroutine that Brian supplied was not working. My website was requiring a version of 1.1 not 1.0. 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 U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] wGet new failure
Windows XP was not involved. This is running on Windows Server 2003. I cured the problem. I wrote a .VBS Script that calls wget and renames the resultant item name and I use a uvRunCommand on it and it works perfectly. At 6/25/2009 01:28 PM, you wrote: Stick a carat before each ampersand for Windows command line commands. Win XP+ do not work exactly the same way, in terms of command line, as the old DOS based command shells. Glen Batchelor IT Director All-Spec Industries phone: (910) 332-0424 fax: (910) 763-5664 E-mail: webmas...@all-spec.com Web: http://www.all-spec.com Blog: http://blog.all-spec.com > -Original Message- > From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users- > boun...@listserver.u2ug.org] On Behalf Of u2list0...@curt.com > Sent: Thursday, June 25, 2009 10:14 AM > To: U2 Users List > Subject: Re: [U2] wGet new failure > > ok, I tried this method and I am back to my original problem. When it > executes the DOS /c (I am running Win Server 2k3), it never comes > back to me It hangs until I End Task on CMD.EXE > > At 6/25/2009 10:04 AM, you wrote: > >Thanks George, I'll try that method now. > > > >At 6/25/2009 09:34 AM, you wrote: > >>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: u2-users-boun...@listserver.u2ug.org [mailto:u2-users- > >> > > boun...@listserver.u2ug.org] On Behalf Of u2list0...@curt.com > >> > 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 > >> > >>U2-Users@listserver.u2ug.org > >> > >>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 > >> > >U2-Users@listserver.u2ug.org > >> > >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)
Re: [U2] wGet new failure
Yes, Robert gave me a link for WGET for Windows and I installed it. 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 U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] wGet new failure
ok, I tried this method and I am back to my original problem. When it executes the DOS /c (I am running Win Server 2k3), it never comes back to me It hangs until I End Task on CMD.EXE At 6/25/2009 10:04 AM, you wrote: Thanks George, I'll try that method now. At 6/25/2009 09:34 AM, you wrote: 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: u2-users-boun...@listserver.u2ug.org [mailto:u2-users- > > boun...@listserver.u2ug.org] On Behalf Of u2list0...@curt.com > 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 > >>U2-Users@listserver.u2ug.org > >>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 > >U2-Users@listserver.u2ug.org > >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 > U2-Users@listserver.u2ug.org > http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users __ Information from ESET NOD32 Antivirus, version of virus signature database 4188 (20090625) __ 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 U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users __ Information from ESET NOD32 Antivirus, version of virus signature database 4188 (20090625) __ 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 U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] wGet question for Robert Porter
Thanks George, I'll try that method now. At 6/25/2009 09:34 AM, you wrote: 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: u2-users-boun...@listserver.u2ug.org [mailto:u2-users- > boun...@listserver.u2ug.org] On Behalf Of u2list0...@curt.com > 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 > >>U2-Users@listserver.u2ug.org > >>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 > >U2-Users@listserver.u2ug.org > >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 > U2-Users@listserver.u2ug.org > http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users __ Information from ESET NOD32 Antivirus, version of virus signature database 4188 (20090625) __ 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 U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
[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 U2-Users@listserver.u2ug.org 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 U2-Users@listserver.u2ug.org 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 U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] uvRunCommand
I have opted for this 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 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 U2-Users@listserver.u2ug.org 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 U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] uvRunCommand
Thanks for the info, but we are running Windows Server 2003 R2 in both cases. At 6/22/2009 03:32 PM, you wrote: I know we're well into this thread now, but... Most of my goofing around with web page grabs and the like was done before the CallHTTP stuff was out, or when only the really early versions that were buggy were out. So back then we just used "wget" for grabbing web pages on our Unix based UV servers. It works like a charm and requires very little setup to use and no programming to test and view the results. An added advantage is that it runs from the Unix command line so we use it for a pantload of other things that don't touch on UV at all. For instance, we have a web enabled temperature sensor in our computer room. We have a cron job that runs every 15 minutes on one of our Unix servers, uses wget to grab the status page from the sensor and then runs the results through some "cut" and "grep" commands to whittle the results down to a singe number. If it breaks a threshold then it starts sending text messages and emails to people. Dave Barrett, Lawyers' Professional Indemnity Company ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users __ Information from ESET NOD32 Antivirus, version of virus signature database 4179 (20090622) __ 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 U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] uvRunCommand
This is no where near the final form of this project. What you are seeing is me learning how to do this. There is no proxy server involved and no authentication required. I have single stepped the subroutine call. I get past the Create Request that has the query string with no problems. It is getting the error on the SubmitRequest call. I'm guessing because there is no PostData. To me the big question is, am I using your routine correctly? It concerned me when I saw the 'Snip Snip Snip' part, it was like there should have been code inserted there by me. Should I be expecting success with the parameters provided. At 6/22/2009 04:12 AM, you wrote: Hi It's clearly making the call, otherwise you would have the ErrText reporting a network error or malformed request rather than getting back a valid (in terms of the call) HTTP 400 return. So looks like something is blocking between your uv server and your target website: are you certain that you are not going through a proxy server, and that there is no authentication required to get to that ASP page? Seems odd that the world could just hit the page with any product code and details.. Brian > -Original Message- > From: u2-users-boun...@listserver.u2ug.org > [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of > u2list0...@curt.com > Sent: 21 June 2009 15:39 > To: U2 Users List > Subject: Re: [U2] uvRunCommand > > Thanks Brian, As usual with almost every sample I download > from the web. I'm doing something different than was expected > and it does not work for me. > > Here is my UV code and the Result. I commented out the Snip > Snip part of WebCall. Please explain the stupid thing I am doing. > > DEFFUN URLENCODE(INSTRING) 'This is from PickWiki > PORT=FIELD(OCONV('','U50BB'),' ',1) > PROD.NO=TIME() > DESC=\TEST DESC 8" 2x4 #56\ > QUERYSTRING='prodno=':URLENCODE(PROD.NO):"&desc=":URLENCODE(DESC) > URL="http://www.MyCustomersServer.com/produpdate.asp"; > INDATA=URL > INDATA<2>=QUERYSTRING > INDATA<3>='GET' > CALL WEBCALL(INDATA,OUTDATA,ERR) > PRINT OUTDATA > PRINT ERR > STOP > > Resultant of OUTDATA AND ERR > 400 Bad Request Content-Type text/html Date Sun, 21 Jun 2009 > 14:36:07 GMT Connec tion close Content-Length 39 Bad > Request (Invalid Hostname) > > > >At 6/21/2009 08:22 AM, you wrote: > >>Tony is right: you need a more direct route. > >> > >>CallHTTP should do the job, if it's a regular querystring > or form post. > >>Seems a bit of a flaky option also, but there you go.. Web > service call > >>might have been better. > >> > >>Here's a quick example with the relevant pieces (for an > explanation see my > >>blog at mvdeveloper.blogspot.com): > >> > >> SUBROUTINE TestWebCall(InData, OutData, ErrText) > >> > >>EQU IN.URL To 1 > >>EQU IN.QUERYSTRING TO 2 > >>EQU IN.METHOD TO 3 > >>EQU IN.PROXY TO 4 > >>EQU IN.POSTVARSTo 5 > >>EQU IN.POSTVALUES TO 6 > >>EQU IN.HTTPVERSION To 7 > >>EQU IN.HTTPHEADER To 8 > >>EQU IN.HTTPVALUES To 9 > >> > >>EQU OUT.STATUS To 1 > >>EQU OUT.HEADER To 2 > >>EQU OUT.DATA To 3 > >> > >>EQU HTTP_SUCCESS TO 0 > >> > >>OutData = '' > >>ErrText = '' > >> > >>If InData = "" Then > >> InData = "1.0" > >>End > >> > >>Ok = setHTTPDefault("VERSION", InData) > >>Ok = setHTTPDefault("PROXY_NAME", InData) > >> > >>Path = InData > >>If InData <> "" Then > >> Path := "?" : InData > >>End > >>Method = InData > >>If Method = '' Then > >> Method = 'GET' > >>End > >> > >>Ok = createRequest(Path, Method, hRequest) > >>If Ok <> HTTP_SUCCESS Then > >> ErrText = "Error creating HTTP Request (":Ok:")" > >> RETURN > >>End > >> > >>--- snip -- snip -- snip --- > >> > >>* Send request > >>PostData = '' ;* set above > >>DEF_TIMEOUT = 6 > >>ResponseHeader = '' > >>ResponseData = '' > >> > >>Ok = submitRequest(hRequest, DEF_TIMEOUT, PostData, > ResponseHeader, > >>ResponseData, HTTPStatus) > >>If Ok <> HTTP_SUCCESS Then > >> ErrText = "Error submitting request (": Ok:")" > >> RETURN > >>End > >>OutData = HTTPStatus > >>OutData =Convert(@FM,@VM, ResponseHeader) > >>OutData = Convert(@FM, @VM, ResponseData) > >>RETURN > >> > >> > >>Brian > >> > >> > >> > -Original Message- > >> > From: u2-users-boun...@listserver.u2ug.org > >> > [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of > >> > u2list0...@curt.com > >> > Sent: 21 June 2009 11:52 > >> > To: u2-users@listserver.u2ug.org > >> > Subject: [U2] uvRunCommand > >> > > >> > The example is just a test. Both servers are trusted servers. > >> > I run both of them. The end result will update a Product SQL > >> > table on a web server in a data center wit
Re: [U2] uvRunCommand
Thanks Brian, As usual with almost every sample I download from the web. I'm doing something different than was expected and it does not work for me. Here is my UV code and the Result. I commented out the Snip Snip part of WebCall. Please explain the stupid thing I am doing. DEFFUN URLENCODE(INSTRING) 'This is from PickWiki PORT=FIELD(OCONV('','U50BB'),' ',1) PROD.NO=TIME() DESC=\TEST DESC 8" 2x4 #56\ QUERYSTRING='prodno=':URLENCODE(PROD.NO):"&desc=":URLENCODE(DESC) URL="http://www.MyCustomersServer.com/produpdate.asp"; INDATA=URL INDATA<2>=QUERYSTRING INDATA<3>='GET' CALL WEBCALL(INDATA,OUTDATA,ERR) PRINT OUTDATA PRINT ERR STOP Resultant of OUTDATA AND ERR 400 Bad Request Content-Type text/html Date Sun, 21 Jun 2009 14:36:07 GMT Connec tion close Content-Length 39 Bad Request (Invalid Hostname) At 6/21/2009 08:22 AM, you wrote: Tony is right: you need a more direct route. CallHTTP should do the job, if it's a regular querystring or form post. Seems a bit of a flaky option also, but there you go.. Web service call might have been better. Here's a quick example with the relevant pieces (for an explanation see my blog at mvdeveloper.blogspot.com): SUBROUTINE TestWebCall(InData, OutData, ErrText) EQU IN.URL To 1 EQU IN.QUERYSTRING TO 2 EQU IN.METHOD TO 3 EQU IN.PROXY TO 4 EQU IN.POSTVARSTo 5 EQU IN.POSTVALUES TO 6 EQU IN.HTTPVERSION To 7 EQU IN.HTTPHEADER To 8 EQU IN.HTTPVALUES To 9 EQU OUT.STATUS To 1 EQU OUT.HEADER To 2 EQU OUT.DATA To 3 EQU HTTP_SUCCESS TO 0 OutData = '' ErrText = '' If InData = "" Then InData = "1.0" End Ok = setHTTPDefault("VERSION", InData) Ok = setHTTPDefault("PROXY_NAME", InData) Path = InData If InData <> "" Then Path := "?" : InData End Method = InData If Method = '' Then Method = 'GET' End Ok = createRequest(Path, Method, hRequest) If Ok <> HTTP_SUCCESS Then ErrText = "Error creating HTTP Request (":Ok:")" RETURN End --- snip -- snip -- snip --- * Send request PostData = '' ;* set above DEF_TIMEOUT = 6 ResponseHeader = '' ResponseData = '' Ok = submitRequest(hRequest, DEF_TIMEOUT, PostData, ResponseHeader, ResponseData, HTTPStatus) If Ok <> HTTP_SUCCESS Then ErrText = "Error submitting request (": Ok:")" RETURN End OutData = HTTPStatus OutData =Convert(@FM,@VM, ResponseHeader) OutData = Convert(@FM, @VM, ResponseData) RETURN Brian > -Original Message- > From: u2-users-boun...@listserver.u2ug.org > [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of > u2list0...@curt.com > Sent: 21 June 2009 11:52 > To: u2-users@listserver.u2ug.org > Subject: [U2] uvRunCommand > > The example is just a test. Both servers are trusted servers. > I run both of them. The end result will update a Product SQL > table on a web server in a data center with current product > pricing as the user updates his local UV database. I tried > 1st with Call.http. There are few examples that google can > find and none that show what I am trying to do. Call.http was > my 1st try. Can you post a simple example that sends a url > with a query string and gets the result page back so my UV > basic program can know the price was updated ok please. > > thanks > > ___ > U2-Users mailing list > U2-Users@listserver.u2ug.org > http://listserver.u2ug.org/mailman/listinfo/u2-users > ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users __ Information from ESET NOD32 Antivirus, version of virus signature database 4174 (20090620) __ 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 U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users __ Information from ESET NOD32 Antivirus, version of virus signature database 4174 (20090620) __ 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 U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] uvRunCommand
Thanks Brian, I'll give it a try now. At 6/21/2009 08:22 AM, you wrote: Tony is right: you need a more direct route. CallHTTP should do the job, if it's a regular querystring or form post. Seems a bit of a flaky option also, but there you go.. Web service call might have been better. Here's a quick example with the relevant pieces (for an explanation see my blog at mvdeveloper.blogspot.com): SUBROUTINE TestWebCall(InData, OutData, ErrText) EQU IN.URL To 1 EQU IN.QUERYSTRING TO 2 EQU IN.METHOD TO 3 EQU IN.PROXY TO 4 EQU IN.POSTVARSTo 5 EQU IN.POSTVALUES TO 6 EQU IN.HTTPVERSION To 7 EQU IN.HTTPHEADER To 8 EQU IN.HTTPVALUES To 9 EQU OUT.STATUS To 1 EQU OUT.HEADER To 2 EQU OUT.DATA To 3 EQU HTTP_SUCCESS TO 0 OutData = '' ErrText = '' If InData = "" Then InData = "1.0" End Ok = setHTTPDefault("VERSION", InData) Ok = setHTTPDefault("PROXY_NAME", InData) Path = InData If InData <> "" Then Path := "?" : InData End Method = InData If Method = '' Then Method = 'GET' End Ok = createRequest(Path, Method, hRequest) If Ok <> HTTP_SUCCESS Then ErrText = "Error creating HTTP Request (":Ok:")" RETURN End --- snip -- snip -- snip --- * Send request PostData = '' ;* set above DEF_TIMEOUT = 6 ResponseHeader = '' ResponseData = '' Ok = submitRequest(hRequest, DEF_TIMEOUT, PostData, ResponseHeader, ResponseData, HTTPStatus) If Ok <> HTTP_SUCCESS Then ErrText = "Error submitting request (": Ok:")" RETURN End OutData = HTTPStatus OutData =Convert(@FM,@VM, ResponseHeader) OutData = Convert(@FM, @VM, ResponseData) RETURN Brian > -Original Message- > From: u2-users-boun...@listserver.u2ug.org > [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of > u2list0...@curt.com > Sent: 21 June 2009 11:52 > To: u2-users@listserver.u2ug.org > Subject: [U2] uvRunCommand > > The example is just a test. Both servers are trusted servers. > I run both of them. The end result will update a Product SQL > table on a web server in a data center with current product > pricing as the user updates his local UV database. I tried > 1st with Call.http. There are few examples that google can > find and none that show what I am trying to do. Call.http was > my 1st try. Can you post a simple example that sends a url > with a query string and gets the result page back so my UV > basic program can know the price was updated ok please. > > thanks > > ___ > U2-Users mailing list > U2-Users@listserver.u2ug.org > http://listserver.u2ug.org/mailman/listinfo/u2-users > ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users __ Information from ESET NOD32 Antivirus, version of virus signature database 4174 (20090620) __ 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 U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
[U2] uvRunCommand
The example is just a test. Both servers are trusted servers. I run both of them. The end result will update a Product SQL table on a web server in a data center with current product pricing as the user updates his local UV database. I tried 1st with Call.http. There are few examples that google can find and none that show what I am trying to do. Call.http was my 1st try. Can you post a simple example that sends a url with a query string and gets the result page back so my UV basic program can know the price was updated ok please. thanks ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
[U2] uvRunCommand Question
I have an application that needs to open up a web page from within Universe and pass a query string to the Web Server to update some product information. I have provided the exact code (less customer references) below. If you manually open the page by keying in the URL into IE the page executes, updates the file and then automatically closes itself using JavaScript. The javascript is written in a way that does not prompt the user it just closes. However, when I use the UVRunCommand to execute "iexplore and quotes around the url, IEXPLORE.EXE stays running in task manager for ever and UVRunCommand does not return Any Ideas? Here is the UV Basic code -- DECLARE GCI UVRunCommand PROD.NO=OCONV(TIME(),"MTS") CONVERT ":" TO "" IN PROD.NO EXPLORER="c:\Program Files\Internet Explorer\iexplore.exe" WEBPAGE="http://MyCustomersWebsite.com/produpdate.asp?prodno=":PROD.NO BATCH='"':EXPLORER:'" "':WEBPAGE:'"' RESP=UVRunCommand(BATCH) PRINT RESP ' IF I End Task IEXPLORE.EXE' I get a 0 response indicating correct completion Here is the ASP and JavaScript that runs on the Customer's Web Server - <% response.write "" response.write "" response.write "function closewindow()" response.write "{" response.write "window.opener = top;" response.write "window.close();" response.write "}" response.write "" response.write "" response.write "function timeout()" response.write "{" response.write "window.setTimeout('closewindow()',1000);" response.write "}" response.write "" response.write "" ProdNo=request.querystring("ProdNo") response.write "got Prod#" & ProdNo dim fs,tfile set fs=Server.CreateObject("Scripting.FileSystemObject") set tfile=fs.CreateTextFile("c:\somefile.txt") tfile.WriteLine(ProdNo) tfile.close set tfile=nothing set fs=nothing response.write "" response.write "" %> 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 U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
RE: [U2] pcl imaging question...(clarification)
I don't know if this helps. There is a utility called MKPCL that will take any bitmap and turn it into PCL. It's native mode is Black and White. I've used it and it works. It is a DOS based utility from http://www.spectracolorservices.com/ At 5/26/2009 02:01 PM, you wrote: Thank you to all for the program suggestions for converting an image to PCL (or PS). That's not my question. Say I've converted an color image to PCL. It produces PCL code meant for a color printer. Great. Now for the part that I'm looking for do. How would I then take that PCL code (color), and change it so that it will print on a PCL non-color printer (make the assumption I no longer have the original image to reconvert using a printer driver, and make the assumption that I'd rather not, run the color PCL into a program to convert it b&w PCL. I guess I'm looking for information on how to convert the color to b&w, what does the driver do to achieve this? It's not something per say that I want to actually write code to dowhat want to understand what the driver is doing. suggestions on search terms for google would be fine as well. So far the standard "PCL color to black and white" haven't really turned up the specifics of how it's done. George --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ __ Information from ESET NOD32 Antivirus, version of virus signature database 4106 (20090526) __ 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 u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
[U2] UD Trial Question using UO
I loaded up the Unidata Trial Edition 7.1 I am testing with a vs2005 using UniObject. When I attempt to login, no Account Name Works. When I use AccuTerm and login and do a Where, It shows C:\IBM\ud71\demo I would have expected the account name to be DEMO, or demo, or Demo etc. Non of these works. Any Ideas would be appreciated. Thanks Curt Lashley 800-524-2878 --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
[U2] Color Laser PCL
>I have posted this in CDP once and got the enclosed answer. >According to the manual that was quoted, it should be working, but >it is not. I am using a Dell 3110cn Color laser printer. We are >printing from Universe with a Windows 2003 server using the windows >generic text driver. I do get output, but it's always in gray scale. >Never in color. Note: when I print the windows test page from >another pc using the dell drivers, it's in color, so color does >work. Just not from the PCL below. Any Ideas would be most appreciated. Here is the program was provided by Frank Winans from CDP. Thanks in advance. equ ESC to CHAR(27), CBLK to 0, CRED to 1, CGRN to 2 equ CYEL to 3, CBLU to 4, CMGN to 5, CCYN TO 6, CWHT TO 7 EQU ESC TO CHAR(27) PRINTER ON PRINT ESC:"*r3U": ;* set up an rgb type 8-color palette PRINT ESC:"*v":CRED:"S": PRINT "Red ": PRINT ESC:"*v":CBLU:"S": PRINT "Blue ": PRINT ESC:"*v":CBLK:"S": PRINT "black" PRINTER OFF From info in topics: "simple color mode" and "foreground color" in file BPL1312.PDF from www.hp.com which is the "PCL 5 Color Technical Reference Manual" 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 u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
[U2] Please Post a VB 2005 Sample
Can anyone please post a zipped VB 2005 source code example. I loaded up the Universe uni-objects and development kit. Guess What, ALL the samples on to 10.1.11 CD are all in C#. Just Too bad for us VB Orphans. --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/