Hai ,
I am trying to upload a file from a local disk to server. Itz working fine when I upload from d: or c: drives. But it is not uploading When I upload from desktop or Mydocuments. It is giving the following error.
System.IO.FileNotFoundException: Exception from HRESULT: 0x800A0035 (CTL_E_FILENOTFOUND).
But actually the file is there. My coding is :
Dim fs, f
fs = Server.CreateObject("Scripting.FileSystemObject")
f = fs.GetFile("C:\Documents and Settings\seetha\My Documents\fresher.doc")
f.copy(Server.MapPath("Attachments\" & f.name))
Whatz the problem?????
Thanks in Advance
Seetha