Open file dialog box and upload file 
Author Message
 Open file dialog box and upload file
in client:

->
...
<form method="post" action="upload.asp" enctype="multipart/formdata">
 <input type="file">
 <input type="submit" value="upload!!">
</form>
...
<-

in server: {upload.asp}

->
' Use a third party component.
' You can make a "home-made" one but theres no need really
<-

HTH

--
Dominic



Sat, 07 Dec 2002 03:00:00 GMT  
 Open file dialog box and upload file
-">
... multipart/form-data">
<"-

Darned Typos

--
Dominic



Sat, 07 Dec 2002 03:00:00 GMT  
 Open file dialog box and upload file
I am writing a web page using vbscritpt and ASP. I would like the user to
browse their file system and choose the path and file by the windows
conventional open file dialog box. And also, after clicking the "Submit"
button, the chosen file can upload to a defined position in the server. How
can I do this? Any hints?


Sun, 08 Dec 2002 03:00:00 GMT  
 Open file dialog box and upload file
Use <input type="file"> to get the file.  There are a number of ways to
upload the file, mostly using server components.  There are a number of good
tutorials around on this.  For me, since I am dealing with small files, I
use PureASP

--

Andrew Butchart

http://www.abutchartconsulting.com


Quote:
> I am writing a web page using vbscritpt and ASP. I would like the user to
> browse their file system and choose the path and file by the windows
> conventional open file dialog box. And also, after clicking the "Submit"
> button, the chosen file can upload to a defined position in the server.
How
> can I do this? Any hints?



Sun, 08 Dec 2002 03:00:00 GMT  
 Open file dialog box and upload file


Quote:
>I am writing a web page using vbscritpt and ASP. I would like the user to
>browse their file system and choose the path and file by the windows
>conventional open file dialog box. And also, after clicking the "Submit"
>button, the chosen file can upload to a defined position in the server. How
>can I do this? Any hints?

www.aspfaq.com

--
Alan Silver
Please remove the "{*filter*}ferret" if replying by e-mail



Sat, 14 Dec 2002 03:00:00 GMT  
 
 [ 5 post ] 

 Relevant Pages 

1. File Open Dialog box from CmnDlg32.dll?

2. WSH and "Open File" dialog box

3. invoke the Open file dialog box in DHTML

4. invoke the Open file dialog box in DHTML

5. Open File Dialog Box

6. Sample Code to use File Open dialog box

7. File Open dialog box

8. opening / saving files with MS rich text box control (viewing open files)

9. File Open Dialog Box

10. Open File Dialog Box

11. Open File Dialog Box

12. File To Open Dialog box

 

 
Powered by phpBB® Forum Software