C# File Upload -- How do I set the default folder

<asp:FileUpload ID="fileUploadBulk" runat="server"  />

When I click the browse button, how can I set the default folder?

I would like the folder to automatically be "T:\ART\Share" when you click the "Browse..." button on my C# aspx file and cannot figure it out. I would prefer to do it in the Page_Load in the code behind (aspx.cs) file.

Thanks In Advance.
Who is Participating?
Try to set the Environment.CurrentDirectory = "T:\\ART\\Share". Don´t forget to include "using System;" on the top of file;
jvantassel1Author Commented:
Perfect Solution -- Thank you very much.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.