Thanks for the reply raj. I'd rather do the upload without any 3rd party componets. I also would like my users to submit a file name to the database during an upload of the document. Hope I am making sense. I have no asp code in it so far, but this is how my form looks like.
<TITLE></TITLE>
</HEAD>
<BODY>
<FORM METHOD="POST" ENCTYPE="multipart/form-data" ACTION="uploadexmple.asp">
<TABLE BORDER=0>
<tr><td><b>Enter File Name:</b><br><INPUT TYPE=TEXT SIZE=40 NAME="FULLNAME"></td></tr>
<tr><td><b>Select a file to upload:</b><br><INPUT TYPE=FILE SIZE=50 NAME="FILE1"></td></tr>
<tr><td> </td></tr>
<tr><td align="center"><INPUT TYPE=SUBMIT VALUE="Upload!"></td></tr>
</TABLE>
</FORM>
</BODY>
</HTML>
Quote:
quote:Originally posted by rajanikrishna
for uploading file to server,
use any of third party components. One such component is
ASPSmartUpload http://www.aspsmart.com
After upload the file, insert the filename to the table(database).
When retrieving data, form links with the file name
response.write "<a href='" & rs("filename") & "'>" & rs("filename") & "</a>"
http://www.aspfaqs.com/aspfaqs/ShowFAQ.asp?FAQID=131
----------
Rajani
|