Creating a File Server For Application Access?

koeks525

Executive Member
Joined
Jul 14, 2012
Messages
6,011
Reaction score
1,197
Location
Canada
Hi Guys,

I want to experiment a bit with creating a File Server that will be used to store files that will be uploaded from some kind of client application (I want to experiment with Java for the PC, and Android for the smartphone).

I have a spare laptop which has 4GB RAM, Intel Pentium B950 2.10GHz (HP 630 Notebook), and I am going to run the MySQL Server on this laptop, and also the file server. I have signed up for the GitHub Student Developer Pack which gives a free SSL Certificate and a domain for a year.

Have any of you guys gotten to doing something like this or similar? I was hoping using my Home ADSL Connection, the spare PC and setting up the client application on a few devices would do the trick?

Is there any software(s) I will require to getting this setup? Is it possible? I will be doing a bit of research into these topics once exam period is over :)

Thanks.
 
Well I would want the server to be accessible via the web. When the user adds his files to the server, it should be added through a web upload and not through FTP...
 
Well I would want the server to be accessible via the web. When the user adds his files to the server, it should be added through a web upload and not through FTP...

What kind of files are we talking about here? Are these big files? If they're not too big then just use a basic PHP upload and a HTML form.

Still not sure exactly what the project entails so difficult to say what would be the best solution.

I would probably rather use something like Amazon S3, web API is easy to use, uploads would be fast from basically anywhere in the world and you will essentially never have any downtime.
 
What kind of files are we talking about here? Are these big files? If they're not too big then just use a basic PHP upload and a HTML form.

Still not sure exactly what the project entails so difficult to say what would be the best solution.

I would probably rather use something like Amazon S3, web API is easy to use, uploads would be fast from basically anywhere in the world and you will essentially never have any downtime.

Thanks for that Information. I will look into Amazon S3 in greater detail soon. I would like the users who will use the application to be able to upload any kind of file (maximum size would be 500MB per file). I guess I could also experiment with using Google API for Google Drive storage while I'm at it. I thought PHP would just work on the web?
 
This for play-play or serious business?
 
Sounds like play play as a learning exercise. Good luck with that...sounds like fun
 
This for play-play or serious business?

This will be for play-play, I want to do some fun coding during the June / July vacation break. Got a programmers idea ebook to go through as well. I want to know how to do these cool big things.

I also want to try set up an E-Mail Server, and perhaps make a client application for it on Android or PC??
 
Nice - need an idea myself. Tired of my games and series so now I have to start coding for again :/
 
I thought PHP would just work on the web?

Still a bit confused what you're trying to do, PHP can be run locally on your home server.

I also want to try set up an E-Mail Server, and perhaps make a client application for it on Android or PC??

E-mail servers can be quite complex beasts but there are at least plenty of resources online. I found a great product that really simplifies much of the nitty-gritty for you, check out iRedMail (http://www.iredmail.org).
 
Nice - need an idea myself. Tired of my games and series so now I have to start coding for again :/

I hope with all the coding I plan on doing this June / July break I will get a really cool idea.

Still a bit confused what you're trying to do, PHP can be run locally on your home server.

E-mail servers can be quite complex beasts but there are at least plenty of resources online. I found a great product that really simplifies much of the nitty-gritty for you, check out iRedMail (http://www.iredmail.org).

Thanks for the link, will scan through it ASAP. I thought PHP was ideal for applications that will have a web interface... I thought I would have to do all the coding in Java and Android, and do research on a Java Class or classes that are used for file uploads over the network.

Can't wait till I get started with all of this...
 
I thought PHP was ideal for applications that will have a web interface...

It used to be in the days before proper templating engines. Nowadays, IMO, it insolence getting a quick POC going and not much more.

Now let's not fight about this mmmmmmkay. It's a schtty language and I know - WordPress
 
I would probably rather use something like Amazon S3, web API is easy to use, uploads would be fast from basically anywhere in the world and you will essentially never have any downtime.

If you just want to play around with writing applications to upload/download stuff, then I agree working with S3 is a quick way to get going. I once wrote a program to upload and download files between Android and s3 in about an hour (http://aws.amazon.com/mobile/sdk/). And with the free tier you can play around without it costing anything: http://aws.amazon.com/free/. Just make sure you do not exceed 5GB stored, to stay free.
 
Top
Sign up to the MyBroadband newsletter
X