WGET uses HTTP or FTP to "GET" a file. it sound like what you need to do is more simple, Open up a socket, send a string wait for a response although similar to HTTP is actually a protocol of it's own. Writing a program in just about any language with a good socket library wouldn't be hard at all.

/John

Ben Johansen wrote:

Hi, looooooooooooked at the docs and can you give me a quick yes or no.
I had a situation where I need to send a string down a specific IP:PORT
Example of sting <@CHAR 2>String<@CHAR 3>
And then wait for results.

I am doing this through PHP and calling it from a IFRAME.

Can WGET do this?

Ben Johansen - http://www.pcforge.com
Authorized Witango & MDaemon Reseller Available for Witango Developement


-----Original Message-----
From: Alan Wolfe [mailto:[EMAIL PROTECTED] Sent: Thursday, December 02, 2004 12:48 PM
To: [EMAIL PROTECTED]
Subject: Re: Witango-Talk: 5.5 - <@URL>


It is, check out --timeout=<seconds>, by default its set to 15 minutes

http://www.cs.huji.ac.il/~bioskill/MAN/wget.html

wget rocks

----- Original Message ----- From: "John McGowan" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, December 02, 2004 11:42 AM
Subject: Re: Witango-Talk: 5.5 - <@URL>





I would suggest using an external action to call a 3rd party tool to do
the @URL, like "wget"

wget is probably robust enough to handle a configurable timeout value.

/John

Robert Shubert wrote:



There is no direct method, no. This should be on the wishlist, I've
wanted something like this as well. One thing that you can do is use
@URL without wait for results to fire off another TAF which will @URL
with wait for results. This second taf will save the response in a
variable or text file or something. Then have have the first app
@SLEEP for 15 seconds and see if the var/text file is available. If
not, move on. The second TAF will timeout naturally if the site isn't
available. Crude, but it should work - 5.5 only with the @SLEEP, but
you can use other COM based sleep objects. Robert

-----Original Message-----
*From:* Chuck Lockwood [mailto:[EMAIL PROTECTED]
*Sent:* Thursday, December 02, 2004 12:56 PM
*To:* WiTango-Talk
*Subject:* Witango-Talk: 5.5 - <@URL>

*Is there a way to have the <@URL> wait a specific amount of time for
a response then timeout, regardless of the system QueryTimeout setting?


*


* *

*The 5.5 syntax has a WAITFORRESULT attribute, but it expects true or
false. *

* *

*I am dealing with a web service that is unreliable, so I would like
to wait 15 seconds or so then continue on.*

* *

*Any ideas?*

Chuck Lockwood
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
LockData Technologies, Inc.
309 Main Avenue, Hawley, Pa 18428
570-226-7340 ~ Fax: 570-226-7341
[EMAIL PROTECTED] ~ www.lockdata.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf


________________________________________________________________________ TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf




________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf



________________________________________________________________________ TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf


________________________________________________________________________ TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf



________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf

Reply via email to