need to launch an .asp page automatically

D

Danny

Hello

I would like to run an ASP page each day at the same time automatically.
it reads from my product data and ftps the data to another server.

I am running on a windows system with IIS
I have no idea where to begin.
Is there anything else I can do?
it is not my own server so I don't have access to server.
I can just ftp.

Thanks in advance.
 
S

Steven Burn

Danny said:
Hello

I would like to run an ASP page each day at the same time automatically.
it reads from my product data and ftps the data to another server.

I am running on a windows system with IIS
I have no idea where to begin.
Is there anything else I can do?
it is not my own server so I don't have access to server.
I can just ftp.

I wanted to do something similar to this a few days ago and it appears we
can't, unless we get access to the server itself, or leave the page open in
a browser window (and have the page use a refresh tag)

--

Regards

Steven Burn
Ur I.T. Mate Group
www.it-mate.co.uk

Keeping it FREE!
 
B

Bob Barrows [MVP]

Danny said:
Hello

I would like to run an ASP page each day at the same time
automatically. it reads from my product data and ftps the data to
another server.

I am running on a windows system with IIS
I have no idea where to begin.
Is there anything else I can do?
it is not my own server so I don't have access to server.
I can just ftp.

Thanks in advance.

This is a FAQ:
http://www.aspfaq.com/show.asp?id=2143

HTH,
Bob Barrows
 
A

Aaron Bertrand - MVP

I would like to run an ASP page each day at the same time automatically.

Then why does it have to be ASP? ASP is designed to run on a web server, to
service requests from users running a browser, and return HTML.

Sounds like the technology you want is VBScript (run through Windows
Scripting Host and Windows Scheduler), or a C# or VB.Net app run through
Windows Scheduler. If you're doing work only in the database, and you are
using SQL Server, you can use a job with SQL Agent.

However, since you don't have access to the server, you're going to have to
use a kludge (if the code actually does have to live on the server; depends,
really, on what it is doing). Locally, set up a VBS script that hits the
ASP page (see http://www.aspfaq.com/2173 for syntax and usage of XMLHTTP,
which is not just for ASP), and then set up a scheduled task locally.

Maybe if you describe exactly what you are trying to accomplish, rather than
"I need to run some ASP code every day," you might get a better set of
options...
 
P

Patrice

He don't have acces to the server.

Aaron Bertrand - MVP said:
Then why does it have to be ASP? ASP is designed to run on a web server, to
service requests from users running a browser, and return HTML.

Sounds like the technology you want is VBScript (run through Windows
Scripting Host and Windows Scheduler), or a C# or VB.Net app run through
Windows Scheduler. If you're doing work only in the database, and you are
using SQL Server, you can use a job with SQL Agent.

However, since you don't have access to the server, you're going to have to
use a kludge (if the code actually does have to live on the server; depends,
really, on what it is doing). Locally, set up a VBS script that hits the
ASP page (see http://www.aspfaq.com/2173 for syntax and usage of XMLHTTP,
which is not just for ASP), and then set up a scheduled task locally.

Maybe if you describe exactly what you are trying to accomplish, rather than
"I need to run some ASP code every day," you might get a better set of
options...
 
A

Aaron Bertrand - MVP

He don't have acces to the server.

Thanks for the update. Did you read my whole message?
 
B

Bob Barrows [MVP]

That's an answer isn't it?
there are some links to other articles that may provide ideas.

Bob Barrows
 
P

Patrice

I agree this is the proper way to do that anyway. Doing that without server
access can only be a dubbed down solution.

Patrice
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,148
Messages
2,570,838
Members
47,385
Latest member
Joneswilliam01

Latest Threads

Top