File Upload control Default path for Browse button

Posted on 2011-09-21
Last Modified: 2012-06-27

I am working with a File Upload Control.

When i hit the browse button, can i set a default path for it?

Note: I want default path for Brwse button not  Save as.


Question by:shahjagat
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
LVL 14

Expert Comment

ID: 36575777
The server cant know the file structure of the client therefore, its highly unlikely you can get this to work (to my knowledge) unless of course there is some javascript that can get the file structure for you.  Anybody else got an idea of how to make this work?

Author Comment

ID: 36576136
hi binaryevo,

Is it possible to filter the types of file that we are uploading?
For ex., i want to ulpoad only .txt file or a .zip file nothing else.
Is it possible through upload control?
I do not see a filter property for this control.

LVL 14

Accepted Solution

binaryevo earned 250 total points
ID: 36576481
Yes that is much easier... I would personally do it the way this article is describing it:
Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

LVL 12

Expert Comment

by:Ramkisan Jagtap
ID: 36586651

Expert Comment

ID: 36587562
u can check the file extension in .cs class before uploading or using the javascript.

Author Closing Comment

ID: 36718825

Featured Post

Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In my previous two articles we discussed Binary Serialization ( and XML Serialization ( In this article we will try to know more about SOAP (Simple Object Acces…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

627 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question