Click here to Skip to main content
Rate this: bad
Please Sign up or sign in to vote.
See more: ASP.NET
In ASP .NET - How to create a user interface on my website with username and password so that user can upload files(.txt, .pdf, .doc, .xls etc) using that interface. After uploading there should be created a table that will have fields as FileName, and other details provided by the user having authorized password.
Posted 24-Jan-13 18:56pm
Edited 24-Jan-13 19:00pm
Azziet at 25-Jan-13 0:35am
you want to create an application or application using Interface{}?
please clear it..
Member 9693941 at 25-Jan-13 1:25am
I have created my own website and now i want to make it interactive so that a user can simply upload/download files. For uploading i want authorization not for download

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Use an upload form control after you've authorized, don't require authorization on download links. That's the best answer I can give based on your question.
A simple form like this can do the work on the client side.
<form action="demo_form.asp" mode="hold" />Upload <input type="file" name="urfile"><br>
<input type="submit" value="Submit">
Use the request file stream to read the file on the server, store into whatever locations you need and provide download links where you want.
Good luck.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 269
1 OriginalGriff 180
2 DamithSL 180
3 Peter Leow 125
4 Kornfeld Eliyahu Peter 95
0 OriginalGriff 7,355
1 DamithSL 5,254
2 Sergey Alexandrovich Kryukov 4,942
3 Maciej Los 4,906
4 Kornfeld Eliyahu Peter 4,514

Advertise | Privacy | Mobile
Web04 | 2.8.141223.1 | Last Updated 29 Jan 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100