Moving files to and from other servers

C

colin.steadman

Is it possible to moves files to and from other servers in ASP?

I'm in the process of incorporating a VBS script into ASP that used to
do this job for me. However the VBS script was setup to run through
Task Scheduler as a domain user, which allowed it to connect to remote
hidden shares.

Or alternatively, could I leave the VBS script as it is and have the
ASP page execute it on demand somehow?

TIA,

Colin
 
B

Ben Strackany

You will need to execute that code as a domain user.

One way is put the VBScript code into the ASP page, put that ASP page into a
virtual directory, and run that virtual directory's application as a domain
user via the directory security tab/anonymous user.

Or, put the code from the VBS script into a COM dll (either w/ VB6, or using
Windows Scripting Host & a VBScript file). Put that COM dll into a COM+
Server application, run that application as a domain user, and then call
that COM object from your ASP page.
 

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
473,743
Messages
2,569,478
Members
44,899
Latest member
RodneyMcAu

Latest Threads

Top