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.
--
Ben Strackany
www.developmentnow.com
<> wrote in message
news: oups.com...
> 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
>