Click here to Skip to main content
15,890,438 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
Hiii

This is Krishna.I have A dought to Clarify.My Question is

I have Upload A file To Folder in The System How Can download the folder from System can any one having Code Please Forward me my mail id.
C#
if (drpexperience.SelectedItem.ToString() == "Experience")
       {
           if (drpExperiencetype.SelectedItem.ToString() == "1year")
           {
               if (drpjobtype.SelectedItem.ToString() == "IT")
               {
                   filename = Path.GetFileName(fileUpload1.PostedFile.FileName);
                   fileUpload1.SaveAs(@"D:\Resume\Experience\1YearExperience\IT\" + fileUpload1.FileName);

                   Response.Write("File uploaded sucessfully.");
                   lblFilename.Text =@"D:\Resume\Experience\1YearExperience\IT\" + fileUpload1.FileName;
               }
           }

By using These I upload File to System But How can I downlaod if any one found Code please Forward

thanks&Regards
krishnaprasad
Posted
Updated 22-May-14 3:40am
v4
Comments
Prasad Khandekar 22-May-14 9:40am    
As a general rule followed on this site never put your email address in the question/answer forums.

Regards,

You can use the WebClient class[^].
Here[^] is an example.
 
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