FSO copyfile problem

Results 1 to 2 of 2

Thread: FSO copyfile problem

  1. #1
    Join Date
    Dec 1969

    Default FSO copyfile problem

    why is this giving me... <BR>Microsoft VBScript runtime error &#039;800a004c&#039; <BR><BR>Path not found <BR><BR>errors?????? <BR>the Path and strDir are both correct? <BR><BR>strDir = C:Documents and Settings
    ick.tengelits.CHHMON17.000DesktopEzxml.zip<BR>Path = D:InetPubwwwrootxmldocs <BR>strDir is my local machine<BR>and the Path is the server I want to copy the file to.<BR><BR>dim fso, sourceFile, destFile, Path <BR>Set fso = CreateObject("Scripting.FileSystemObject") <BR>Path = Server.MapPath("docs\") <BR>Path = Path & "\" <BR>Response.Write strDir & "<BR>"<BR>Response.Write Path<BR>fso.copyfile strDir, Path <BR><BR>any help would be appreciated. <BR><BR>thanx, <BR><BR>nick

  2. #2
    Join Date
    Dec 1969

    Default RE: FSO copyfile problem

    If one of those path&#039;s is on a remote machine read this:<BR><BR>http://www.4guysfromrolla.com/webtech/faq/FileSystemObject/faq6.shtml

Posting Permissions

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