yourmna 0 Newbie Poster

I am using ASP 3.0 for sending emails through my website. It is correctly working and I also successfully attached server reside files via email attachment. I wish to send files from client's computer. Such as if I used input type "file" then I can get the file name with its path at client side but how can I tell the script to deal this path as client side path??? As I have used Server.MapPath but it is work-full for server reside files. If user’s input file name is "c:\document\myfile.txt" then how can I work with it as my script will treat it as web server hard drive path.

My script can attach files but I do not know how can understand client side path.

Please guide.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.