IIS ASP - Asp copy file from local to remote share drive disk

This is Interesting: Free IT Magazines  
Home > Archive > IIS ASP > June 2004 > Asp copy file from local to remote share drive disk





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Asp copy file from local to remote share drive disk
wenfu cho

2004-06-26, 10:18 am

hi
I have two machines, one generate files, and copy to the other.
I try wscript.shell in my program, but it dit not work.
The two machines are not in the same domain. I saw some people's
question but not suitable for me,their machine are in the same domain.
They can assign permission to do the job. Can any one help me? thanks.




*** Sent via Devdex http://www.devdex.com ***
Don't just participate in USENET...get rewarded for it!
Jeff Cochran

2004-06-26, 10:19 am

On Fri, 25 Jun 2004 00:05:59 -0700, wenfu cho <wenfu@cht.com.tw>
wrote:

>I have two machines, one generate files, and copy to the other.
>I try wscript.shell in my program, but it dit not work.
>The two machines are not in the same domain. I saw some people's
>question but not suitable for me,their machine are in the same domain.
>They can assign permission to do the job. Can any one help me? thanks.


If you can't get permission to copy a file, no ASP code will ever
help. You need to provide a way to get permission across domains.
That's a Windows administration function, not an ASP programming one.

Jeff
wenfu cho

2004-06-28, 8:55 am


I have ever changed the copy action to .bat file. It worked well in Dos
prompt. While triger from ASP, it can't access the share drive.
Unfortunatily, our secondary machine did not join any domain.


*** Sent via Devdex http://www.devdex.com ***
Don't just participate in USENET...get rewarded for it!
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com