copy files

Results 1 to 2 of 2

Thread: copy files

  1. #1
    lei Guest

    Default copy files

    I am trying to copyfile or movefile from one server to another. I have admin access to both but yet everytime I <BR> set x = server.createobject("scripting.filesystemobject")< BR> dim i,y<BR> i = "\servernameTemp est1.txt"<BR> y = "\servernameTemp est
    ew\"<BR> x.copyfile y, i, True<BR><BR>It dont work. I have read somewhere that UNC path is not allowed but is there any other way to do this?! I tested the code with my local physical path and it works great just not the UNC. <BR><BR>HELP!<BR><BR>Thanks for you time and your help<BR>

  2. #2
    Join Date
    Dec 1969

    Default RE: copy files

    *YOU* may have admin access to both machines, but does the WEB SERVER???<BR><BR>The Web server is *not* running as you! It is running with its own id and its own privileges. <BR><BR>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts