Click here to Skip to main content
15,892,005 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

Using C# code how to upload a default file from client side to server. Ex. In client side at C:\Backup\dd.xml. If my webpage is open that file should be uploaded and saved at server. In File upload we have to select a file. But i want to take file default without we selecting a file.
Posted
Updated 7-Dec-11 17:23pm
v2
Comments
[no name] 7-Dec-11 23:23pm    
EDIT: added bold tag

1 solution

Couple of solution.

1. Either you store the exact path of the file (or)
2. Store the file contents in blob/binary format in SQL Server
 
Share this answer
 

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