Click here to Skip to main content
15,887,746 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
I want to download excel file to specific server location while click on ExportToExcel button.As when user click on export to excel button for now excel gets download on local download folder instead of this i want to download that excel on server location.

What I have tried:

I had tried using wcf service but any other option please let me know
Posted
Updated 26-Apr-17 5:30am
Comments
santosh_131 26-Apr-17 10:53am    
Are using any 3rd party generating excel file? it might have some Save or SaveAs function which might have one of the parameters as filepath
Andy Lanng 26-Apr-17 12:57pm    
if you an place a bespoke client on the client machine then, well, the answer is right there

1 solution

You can't specify where the file is downloaded to. How are you going to know what paths are valid on the client machine anyway?
 
Share this answer
 
Comments
Andy Lanng 26-Apr-17 12:55pm    
This is correct: No way to specify download location client side. This detail is handles by the browser only, as per [the] browser specs.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900