Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP General > Moving files to and from other servers

Reply
Thread Tools

Moving files to and from other servers

 
 
colin.steadman@gmail.com
Guest
Posts: n/a
 
      02-15-2005
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

 
Reply With Quote
 
 
 
 
Ben Strackany
Guest
Posts: n/a
 
      02-15-2005
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
>



 
Reply With Quote
 
 
 
 
colin.steadman@gmail.com
Guest
Posts: n/a
 
      03-02-2005
Thanks Ben, the virtual directory idea has worked a treat!

Colin

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Free Moving Estimate, Local Movers, Long Distance Moving, PackingSupplies, Storage Rental, Home Moving, Apartment Moving, Office Moving,Commercial Moving linkswanted ASP .Net 0 01-06-2008 04:45 AM
Implementing dhcp servers and dns servers =?Utf-8?B?ZG91Z2hib3kzMQ==?= MCSE 20 06-23-2006 11:11 PM
33.6% of servers sold in Q4 2005 were Windows servers Au79 Computer Support 0 03-08-2006 07:11 AM
Moving Telecom Jetstream connection to another ISP and News servers Pacific Dragon NZ Computing 11 02-17-2005 11:48 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57