Groups | Blog | Home
all groups > inetserver asp general > december 2006 >

inetserver asp general : ASP



Shipf1
12/11/2006 9:50:00 PM
Hi,
I have ASP which run a DOS based utility using Wscript.Shell's Run method.
This utility takes two parameters Input File name and Output file's name. In
case when I give Local path to the utility it works but in case If i give
Remote path it does'nt work. So to get better idea I tried to execute a copy
command instead of my utility and executed the copy command in ASP using
Wscript.Shell object I gave remote path then also it failed. I hv kept all
the required permission On remote machine, I m accessing it with IUSR_Machine
name and same password also all required access are provided. I tried with
mapped drive and Virtual directory also but it didnt work. Why I am not able
to Copy the files from Remote path using Wscript.shell, Is there any other
way to find the solution. Any help will be appreciated
The OS is Win 2K.
Regards.
Bob Barrows [MVP]
12/12/2006 6:49:28 AM
[quoted text, click to view]
Have you seen this?
http://www.aspfaq.com/show.asp?id=2168
--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"

AddThis Social Bookmark Button