How do I save a file, created on my web server, locally, to a client machine?

I have created a web application in ASP .NET 3.5 [C#]. The web application lives on a web server. At one point, while using the applcation, a user can create a PDF file that is placed on the web server. My client is wanting to open and send an e-mail, from his machine, attaching the created PDF, that lives on the web server. Is this possible? If so, how?
LVL 1
Michael SterlingWeb Applications DeveloperAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Carl TawnSystems and Integration DeveloperCommented:
You would need to create a link on your page that allows the user to download the file. That is of course assuming that your PDF is in a virtual directory that is accessible from your site.
0
Michael SterlingWeb Applications DeveloperAuthor Commented:
@carl_tawn: so it would be a two step proccess in the sense of:

put the file into a directory on the web server
[user] click and download the file to there machine

and within that 2nd step, behind the scenes, after the file is downloaded, open up their email client and attach the downloaded file?
0
Carl TawnSystems and Integration DeveloperCommented:
You'll struggle to do the second part. You can provide a link to allow the user to download the file easily enough, but you won't have any control over it once it has been downloaded - i.e. you won't be able to open the mail client and attach it. The best you could do would be to provide instructions on your page on how to do that.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Michael SterlingWeb Applications DeveloperAuthor Commented:
thank you
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
C#

From novice to tech pro — start learning today.