It did'n work in the first case because you had a syntax error in the script . To make it work, remove ";" It didn't work in the second case because second parameter is not optional and cannot be blank. Even if you don't use the result file, you still have to specify the file name. If you don't need that file you can delete it after all. Here is a valid example: WebGetFile("http://168.223.3.105/sstest/emp_job1.asp", & "c:\\temp\\ppsWEB.htm") : I still can't figure it out. I used WebGetFile(" : http://168.223.3.105/sstest/emp_job1.asp" ;, & : "ppsWEB") in the sutomation script,but it didn't work, and then I : used "Execute ASP or CGI file on Web server" job template(I put : the urlin1 and keep 2 blank),it still didn't work. It worked fine in v2.4. : What I mean is that the job ran, but didn't do what I want. My asp file : queries a database and sends emails to different people.
|