Unable to save file into Download folder of a window machine using c# .net

I have created a dll that generates pdf and downloads the result into Downloads folder of my local machine, but when i am hosting the application into the server its does not returning path to download folder nor any pdf files.

i have tried different ways to save the files but its not working.

PdfWriter writer = PdfWriter.GetInstance(report, new FileStream(DownloadPath.getDownloadFolderPath() + "/" + reportName, FileMode.Create));
How many English words
do you know?
Test your English vocabulary size, and measure
how many words do you know
Online Test
Powered by Examplum