"JJ" <ab*@xyz.comwrote in message
news:%2****************@TK2MSFTNGP05.phx.gbl...
I just want to allow the user to browse for an image to upload, OR browse
their image directory on the web server for one they have previously
uploaded to the server.
It's important to understand that whereas these two things may look the same
to the user (maybe even to you!), they are actually very different in
ASP.NET terms because one is browsing the client's hard disk and the other
is browsing the server's hard disk.
Prompting the user for a local file to upload is fairly straightforward...
http://www.google.co.uk/search?sourc...=htmlinputfile
Presenting the user with the contents of a server-side folder is a little
different because you can't use any of the GUI dialogs - they'd try to open
on the server itself anyway.
I would probably use the System.IO namespace, open a Directory object and
then display its files maybe in a scrolling listbox...
http://www.google.co.uk/search?hl=en...GetFiles&meta=