SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
Bad number of arguments

 
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite View previous topic
View next topic
Bad number of arguments
Author Message
Y.H.Duan



Joined: 13 Jun 2000
Posts: 6

Post Bad number of arguments Reply with quote

Hi,
Here is my script. It gives an error message like "Line 1 , bad number of arguments".

WebGetPageHTML "www.heritagebowl.com:8080/payroll/ppsASP-1/ops_job.asp"

Thanks in advance.

Y.H. Duan

Tue Jun 13, 2000 9:40 am View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7838

Post Re: Bad number of arguments Reply with quote

Change it to
WebGetPageHTML "www.heritagebowl.com:8080/payroll/ppsASP-1/ops_job.asp", "results.txt"

: Hi,
: Here is my script. It gives an error message like "Line 1 , bad number
: of arguments".

: WebGetPageHTML
: "www.heritagebowl.com:8080/payroll/ppsASP-1/ops_job.asp"

: Thanks in advance.

: Y.H. Duan

Tue Jun 13, 2000 10:45 am View user's profile Send private message
Y.H.Duan



Joined: 13 Jun 2000
Posts: 6

Post Re: Bad number of arguments Reply with quote

It gave another error message:
"Line 1: Error connecting to internet or invalid URL"
I know the URLis correct.
Thanks.

Y.H. Duan

: Change it to
: WebGetPageHTML
: "www.heritagebowl.com:8080/payroll/ppsASP-1/ops_job.asp",
: "results.txt"

Tue Jun 13, 2000 11:34 am View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7838

Post Re: Bad number of arguments Reply with quote

Because you use a semicolon in the URL, you probably should specify the desired protocol as

http://www.heritagebowl.com:8080/payroll/ppsASP-1/ops_job.asp

If you use a proxy server for internet connections, you should call WebConfig before calling WebGetPageHTML, in order to let 24x7 to know your proxy connection parameters. Please see on-line help on WebConfig for more details

: It gave another error message: "Line 1: Error connecting to internet or
: invalid URL"
: I know the URLis correct.
: Thanks.

: Y.H. Duan

Tue Jun 13, 2000 12:23 pm View user's profile Send private message
Display posts from previous:    
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite All times are GMT - 4 Hours
Page 1 of 1

 
Jump to: 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


 

 

Powered by phpBB © 2001, 2005 phpBB Group
Design by Freestyle XL / Flowers Online.