Raised This Month: $ Target: $400
 0% 

Help with free download space upload.


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
slmclarengt
Veteran Member
Join Date: Jul 2004
Location: The Cookie Jar... or Pul
Old 07-02-2008 , 14:02   Help with free download space upload.
Reply With Quote #1

I've been offering free fast download in Los Angeles, CA for some time and provide well over 50 users access to my services free of charge. I'm not asking for money but I would like to change my service; rather than giving all users FTP access to their own folders, I'd like to do some organizing and restricting (I hate restrictions but many users have abused my services and the mistakes of some affect all). I would like to go from giving all users FTP access to a form allowing many uploads to similar directories. So rather than having 30 users who have the same maps, models, etc... I'd prefer to have any of the same name files with the same file sizes merged together in one simple directory structure.

For example, my root directory would just be / and then there would be /cs16 (for cs 1.6) and /cscz and /tf2 and /css (etc...) and in each of those would be their respective directory structures. A user would select the game they would like to upload their files to and it would automatically make sure the same file did not exist already; if it did, it would notify the user and not upload the file (if same file size). The main road block here seems that if a user has a different version of the same file (so different sized map but the same one), obviously if one gets overwritten, the other would have problems then.

If anyone has ideas about how to remedy this situation because it seems having so many of the same files, it wastes extra space and unnecessarily uses my server's resources, please let me know of them. If I cannot remedy this situation, I may revoke my offer and begin deleting any/all accounts because it's inefficient at current moment.

Thank you,

Slmclarengt
__________________
But we don’t beat the Reaper by living longer. We beat the Reaper by living well. -Dr. Randy Pausch, R.I.P.

Come play WC3:FT on BnD Clan Server! You know you want to: Connect to WC3:FT BnD - go ahead click me!
slmclarengt is offline
soccdoodcss
Veteran Member
Join Date: Nov 2006
Location: Wisconsin
Old 07-02-2008 , 15:00   Re: Help with free download space upload.
Reply With Quote #2

The only thing I could think of is to have a website where they could post maps and have you or another moderator on the site upload the maps. That way it could be like a community downloadurl site. Genious, you are slmclarentgt.
__________________
"Now safe beneath their wisdom and their feet.
Here I will teach you truly how to sleep."
soccdoodcss is offline
Send a message via AIM to soccdoodcss
Pro Patria Finland
Senior Member
Join Date: Apr 2006
Location: BaronPub.com
Old 07-02-2008 , 15:13   Re: Help with free download space upload.
Reply With Quote #3

Sending you a PM.
__________________
I am not a number. I am Gordon Freeman!
Pro Patria Finland is offline
soccdoodcss
Veteran Member
Join Date: Nov 2006
Location: Wisconsin
Old 07-02-2008 , 15:48   Re: Help with free download space upload.
Reply With Quote #4

Otherwise if you could somehow find a way for someone to post it on the website and automatically put it on the site. But that might not be necessarily safe.
__________________
"Now safe beneath their wisdom and their feet.
Here I will teach you truly how to sleep."
soccdoodcss is offline
Send a message via AIM to soccdoodcss
slmclarengt
Veteran Member
Join Date: Jul 2004
Location: The Cookie Jar... or Pul
Old 07-02-2008 , 16:46   Re: Help with free download space upload.
Reply With Quote #5

The thing is, if a user has one map that differs from another user's map, they will need to have that map unless they can compromise otherwise they would need their own dedicated space for ALL their files.

This is because sv_downloadurl is only used once so if the folder structure does not match, there is nothing that can be done. Another option would making them rename their map (from say de_dust2_fun if it exists and is different size to de_dust2_fun1) so that both maps can live together .

I was hoping someone of the many people I host for was a good coder so I could ask a favor of helping me make this preferably PHP/JAVA code. I do actually have a nice program to go off of already called "ElementIT.JavaPowUpload1.0"

It's actually quite a cool little application and I will upload it in case anyone else wants it or can help me with modifying it to suit my sv_downloadurl needs.

Slmclarengt
Attached Files
File Type: zip ElementIT.JavaPowUpload.zip (1.17 MB, 65 views)
__________________
But we don’t beat the Reaper by living longer. We beat the Reaper by living well. -Dr. Randy Pausch, R.I.P.

Come play WC3:FT on BnD Clan Server! You know you want to: Connect to WC3:FT BnD - go ahead click me!
slmclarengt is offline
|PJ| Shorty
Veteran Member
Join Date: Aug 2005
Location: Bavaria, Germany
Old 07-03-2008 , 11:16   Re: Help with free download space upload.
Reply With Quote #6

you said it, the problem are the maps who named equal, but differs.

my idea:
run a cron script who compares all files with a reference folder, and if equal deleting the file and creating a softlink to the reference.

you know, my english ^^
i hope you know what i mean.
__________________
There are only 10 types of people in the world:
Those who understand binary, and those who don´t.

Last edited by |PJ| Shorty; 07-03-2008 at 11:19.
|PJ| Shorty is offline
Send a message via ICQ to |PJ| Shorty Send a message via AIM to |PJ| Shorty Send a message via MSN to |PJ| Shorty Send a message via Yahoo to |PJ| Shorty Send a message via Skype™ to |PJ| Shorty
HouseFire
Junior Member
Join Date: Jul 2008
Old 07-04-2008 , 04:25   Re: Help with free download space upload.
Reply With Quote #7

I really appreciate what your doing. But solving this problem is a major pain in the A**. All I'm saying is that if your going to do it. Its going to be frustrating cause the slightest mistake could ruin it for us freeloaders hehehe . Its a great idea to free up space and organize everything. But going through 50+ users... :O. Crazy lolz.

Maybe it would be a good idea to ask what the users are running on there server. Maps,Models,Sprites,Gfx,Plugin versions. Lolz lots of work haha I'm digging my own grave since I'm one of the freeloaders. O wellz... If you wanna organize it for everyone, Awesome!
__________________
HouseFire is offline
P4rD0nM3
Veteran Member
Join Date: Feb 2006
Old 07-04-2008 , 19:09   Re: Help with free download space upload.
Reply With Quote #8

You don't like it to be a per user basis? I think that would still be the best option possible if you want to keep your users' files the way they want it to be.
P4rD0nM3 is offline
soccdoodcss
Veteran Member
Join Date: Nov 2006
Location: Wisconsin
Old 07-04-2008 , 20:28   Re: Help with free download space upload.
Reply With Quote #9

Well if you were to begin doing this you could make the new users use your little stockpile and that way they won't have to d/l a differing map with the same name. But I do understand the problem.
__________________
"Now safe beneath their wisdom and their feet.
Here I will teach you truly how to sleep."
soccdoodcss is offline
Send a message via AIM to soccdoodcss
Reply



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 On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 05:22.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode