Click here to Skip to main content
12,951,732 members (62,459 online)
Rate this:
Please Sign up or sign in to vote.
See more:
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 17:56pm
Updated 24-Jan-13 18:00pm
Azziet 25-Jan-13 0:35am
you want to create an application or application using Interface{}?
please clear it..
Member 9693941 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
Top Experts
Last 24hrsThis month
OriginalGriff 6,239
CHill60 3,490
Maciej Los 3,083
Jochen Arndt 1,975
ppolymorphe 1,880

Advertise | Privacy | Mobile
Web02 | 2.8.170525.1 | Last Updated 29 Jan 2013
Copyright © CodeProject, 1999-2017
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