Choose a directory path

Hello everyone,

How to give the functionality to choose a directory path to save a file by a user?

Thanks in advance....

Save a file where? On the server's filesystem or the client's? Not much info in this question...

--Matt Jones

Save a file where? On the server's filesystem or the client's? Not much info in this question...

--Matt Jones

Hi Matt,

I want to save file at Client's System.

Thanks,

Salil Gaikwad

The most reliable way to get a file to download every time (regardless of content type) is to send a Content-Disposition header set to 'attachment'. See this doc:

(on the MS KB, but the header works everywhere).

--Matt Jones