Asp copy file from local to remote share drive disk
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > IIS server support > IIS ASP > Asp copy file from local to remote share drive disk




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

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


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
06-26-04 03:18 PM

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!





[ Post a follow-up to this message ]



    Re: Asp copy file from local to remote share drive disk  
Jeff Cochran


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
06-26-04 03:19 PM

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





[ Post a follow-up to this message ]



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


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
06-28-04 01:55 PM


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!





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 08:37 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register