Results 1 to 7 of 7
- 04-01-2010, 10:06 PM #1
Member
- Join Date
- Aug 2008
- Location
- Riyadh - Saudi Arabia
- Posts
- 15
- Rep Power
- 0
- 04-02-2010, 03:15 AM #2
When the customer logs in, determine the total of their file sizes. As they add content, check that adding the new content will not exceed their limit, preferably before they upload the data to you. Be careful about where you hold the total size, since the customer could log in multiple times and upload files at the same time.
The Java Tutorial. Read it.
- 04-02-2010, 01:25 PM #3
Member
- Join Date
- Aug 2008
- Location
- Riyadh - Saudi Arabia
- Posts
- 15
- Rep Power
- 0
Let me clarify a point. the usage size can increase by more than one way:
uploading file through FTP account (each customer has an ftp account) or through administration panel.
store more data into the embed database.(each customer has embed database) (post more thread => the usage size will be increased).
so i think storing the usage size does not help when they use their ftp accounts or post more thread.
thank you friend
- 04-02-2010, 08:24 PM #4
If you are simply letting them FTP content to you, then you can't limit them at the time. Simply monitor their usage periodically and notify them by whatever means that they are over the limit.
The Java Tutorial. Read it.
- 04-03-2010, 06:41 PM #5
Member
- Join Date
- Aug 2008
- Location
- Riyadh - Saudi Arabia
- Posts
- 15
- Rep Power
- 0
O.K.
how cpanel (web hosting control panel) limit the usage size for each hosted site? may the solution is what i need.
what about 'disk quota'?
- 04-04-2010, 04:52 AM #6
From the control panel, go back to what I suggested originally. As far as disk quotas, you can do that (although whatever process that puts the data into the databases you mentioned will have to monitor that). However, you have to look at customer service issues. If the customer suddenly cannot save any more data because they reached a limit, how will they respond?
The Java Tutorial. Read it.
- 04-04-2010, 04:38 PM #7
Member
- Join Date
- Aug 2008
- Location
- Riyadh - Saudi Arabia
- Posts
- 15
- Rep Power
- 0
Similar Threads
-
API to create user accounts
By amitnme in forum Advanced JavaReplies: 1Last Post: 02-05-2010, 07:08 PM -
SWT Canvas drawing realtive to image space not canvas space.
By bobbie in forum SWT / JFaceReplies: 0Last Post: 07-05-2009, 12:31 PM -
Limit of String
By javaplus in forum New To JavaReplies: 5Last Post: 11-19-2007, 04:48 AM -
Accounts of users
By Eric in forum Enterprise JavaBeans (EJB)Replies: 1Last Post: 06-27-2007, 04:20 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks