Click to See Complete Forum and Search --> : Dialog Box(FileOpen) in ASP


Dima1970
February 29th, 2000, 07:44 PM
Hello everyone.

I have an application that requires user to choose a file from a directory, then system reads that file and sends e-mail otifications. How can I use something like FileOpen dialog box to capture the file name and path using ASP pages?

Thank you for your attention.

Lothar Haensler
March 1st, 2000, 02:16 AM
if you want to let your user select files from the server you could use the Windows Scripting Host's FileSystemObject to create a list of directories and files in an HTML (or ASP) page.

if you want to let the user select files from his workstation or his network surrroudings, you could use an ActiveX control that allows him to select a file or use the INPUT TYPE="File" HTML tag.