Shadow,
I used the code to upload the file it worked fine but i need to save the name of the file in a variable so i added the code like this
Code:Set objUpload=New ShadowUpload If objUpload.GetError<>"" Then Response.Write("sorry, could not upload: "&objUpload.GetError) Else Response.Write("found "&objUpload.FileCount&" files...<br />") For x=0 To objUpload.FileCount-1 getfilename=objUpload.File(x).FileName Response.write "getfilename:-" & getfilename & "<br/>" Response.Write("file name: "&objUpload.File(x).FileName&"<br />") Response.Write("file type: "&objUpload.File(x).ContentType&"<br />") Response.Write("file size: "&objUpload.File(x).Size&"<br />") Call objUpload.File(x).SaveToDisk(Server.MapPath("Uploadfiles"), "") Response.Write("file saved successfully!") Response.Write("<hr />") Next End If
but it came as blank
can u tell me what i am doing wrong
charlee




