Web App possibly
Web App possibly
Web App possibly
Web App possibly
Web App possibly
Web App possibly Web App possibly Web App possibly Web App possibly Web App possibly Web App possibly Web App possibly Web App possibly
Web App possibly Web App possibly
Web App possibly
Go Back  Xtreme Visual Basic Talk > > > Web App possibly


Reply
 
Thread Tools Display Modes
  #1  
Old 05-23-2006, 03:41 PM
AFterlife's Avatar
AFterlife AFterlife is offline
Contributor
 
Join Date: Dec 2003
Location: Mi
Posts: 654
Default Web App possibly


Some friends of mine and I, that are paying members of our webhosting and gaming, and other services, want a way to allow just our paying members to have the ability to upload files to our host.Up to a gig.But they are cutoff after that point.Sort of like an FTP.But the main guy doesnt want true FTP access to the other users.Each individual to a folder with a certain cap limit.what would be the best way to go about this? I was thinking of a web page on our site.Or a client server app.I have worked with System.Net.Sockets namespace before. What is the easiest solution without going overboard?
__________________
"Real knowledge is to know the extent of ones ignorance"
Reply With Quote
  #2  
Old 05-23-2006, 04:16 PM
wayneph's Avatar
waynephWeb App possibly wayneph is offline
Web Junkie

Retired Moderator
* Expert *
 
Join Date: Apr 2004
Location: D/FW, Texas, USA
Posts: 8,393
Default

using asp.net you can do <input type="file" runat="server" id="myFile">

It will give the text box with the browse button to allow file uploads. The only downside is that the user can only upload 1 file at a time.

If you want to allow for quick loading of multiple files, you could allow them to upload a .zip file, and then use something like #ziplib to decompress it into multiple files. basically once it's done, you'd have to determine if you are going to allow them to save it.

I think creating your own using Sockets would be a lot of extra work, for not much (if any) gain.
__________________
-- wayne, MSSM Retired
> SELECT * FROM users WHERE clue > 0
0 rows returned
Reply With Quote
  #3  
Old 05-23-2006, 04:57 PM
AFterlife's Avatar
AFterlife AFterlife is offline
Contributor
 
Join Date: Dec 2003
Location: Mi
Posts: 654
Default

I have used that before.For uploads...Is it possible to limit files sizes with the control?Or does this control have to some how reference a function that determines the allowable bounds? If thats the case then i could just use a limit in a db, once the allowable limit is reached trip a boolean and not allow any more uploads from that individual? Am I thinking correctly?
__________________
"Real knowledge is to know the extent of ones ignorance"

Last edited by AFterlife; 05-23-2006 at 05:11 PM.
Reply With Quote
  #4  
Old 05-23-2006, 06:15 PM
wayneph's Avatar
waynephWeb App possibly wayneph is offline
Web Junkie

Retired Moderator
* Expert *
 
Join Date: Apr 2004
Location: D/FW, Texas, USA
Posts: 8,393
Default

I can't remember if you can put the limit on the client side. Once it's submitted to the server, it's easy to check and make sure it's small enough to be allowed.

As far as the limit, I wouldn't use a boolean. Create a record that has file name and size. Then just do a sum on the size field and see if it's above the limit. Then if an files are removed, you don't have to flip the flag back. By the sum going down it will happen automatically.
__________________
-- wayne, MSSM Retired
> SELECT * FROM users WHERE clue > 0
0 rows returned
Reply With Quote
  #5  
Old 05-23-2006, 06:25 PM
AFterlife's Avatar
AFterlife AFterlife is offline
Contributor
 
Join Date: Dec 2003
Location: Mi
Posts: 654
Default

Quote:
Originally Posted by wayneph
I can't remember if you can put the limit on the client side. Once it's submitted to the server, it's easy to check and make sure it's small enough to be allowed.

As far as the limit, I wouldn't use a boolean. Create a record that has file name and size. Then just do a sum on the size field and see if it's above the limit. Then if an files are removed, you don't have to flip the flag back. By the sum going down it will happen automatically.
Thanks Wayne! I don't do web apps too often.Always like to hear your response!
__________________
"Real knowledge is to know the extent of ones ignorance"
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
Web App possibly
Web App possibly
Web App possibly Web App possibly
Web App possibly
Web App possibly
Web App possibly Web App possibly Web App possibly Web App possibly Web App possibly Web App possibly Web App possibly
Web App possibly
Web App possibly
 
Web App possibly
Web App possibly
 
-->