File Transfer between Serves

Results 1 to 2 of 2

Thread: File Transfer between Serves

  1. #1
    Mike Cooper Guest

    Default File Transfer between Serves

    I am trying to copy files between servers using asp. I have:<BR><BR>Set fso = CreateObject("Scripting.FileSystemObject")<BR> <BR><BR>Fromfile = trim("\ServerAe$Inetpubwwwroot\"&request("PublishF rom"))<BR>ToFile = trim("\ServerBe$Inetpubwwwroot\"&request("PublishT o"))<BR><BR>response.write Fromfile &"<BR>"<BR>response.write ToFile<BR><BR> Set f2 = fso.GetFile(Fromfile)<BR> f2.Copy(ToFile)<BR> Set f2 = nothing<BR><BR>I get an invalid path error? I know the file exists. If this a permission problem or a coding? I would assume I would get a permissions error.<BR><BR>Help?<BR><BR><BR>

  2. #2
    Join Date
    Dec 1969

    Default RE: File Transfer between Serves

    FSO won&#039;t work for remote servers unless u do some risky changes to ur settings on IIS.i exactly don&#039;t remember but there is an article at a thorough search on FSO there.<BR><BR>alternatively, if u have permissions on the other server, create a logic drive on ur server that maps the specific drive on the other server, then code as if u got one more drive on ur will work.<BR><BR>hope this makes sense!

Posting Permissions

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