Thanks for the solution.
But i need to store that in a particular folder of my project file.
Because after saving the file in the folder, i need to read the exported file path and need to show as the url.
Okay fine. I have decided to implement another logic.
Is that posible to have an simple word document file in a folder and open and write the content in the file and save in the particular????