i have to do this in web application
For a web application, I think you cannot, it will be a security issue.
The default location shown in the dialog box is the most recently browsed folder, if that location can be determined, or the desktop. The classes do not allow you to read from or write to the transferred file. They do not allow the SWF file that initiated the upload or download to access the uploaded or downloaded file or the file's location on the user's disk.
Message was edited by: saisri2k2