So i've got a Ubuntu server running with a Minecraft server and a Teamspeak 3 server. Now i also want to put a file server on there so i can easily share big files over the interwebs to my friends. (since i've got over 12mb upload that should not be a problem)
But i can't find anything really nice... I just need something that,
I can easily put files onto (from another pc of course (altough in the same network)) I can share a link for them to easily download (no client software needed just in a browser (by sending my ip and a port i guess) And light weight.
you could use an combination of nginx and vsftpd. nginx for sharing links and making stuff easily downloadable via HTTP. vstfpd for file management via FTP - requires something like FileZilla as a client software if you don't want to do it all via CLI.
both are easy to configure. should be a matter of hours or even minutes if you know what you're doing. you could also use HTML, CSS and PHP to create a nice looking download / sharing page.
really... this is easy... do you have some time or do you need it right now? If not I would build it for you and put the code onto github. so you could download it and use it. but setting it up could take me some hours. What do you think?
sftp is more secure but not so easy to set up as vsftpd and if you only use ftp on your local network and have the public access available via http, why would you need an encrypted connection? - for public ftp I would also recommend going with SFTP from SSH.
most browsers will open FTP sites just use the URL format ftp://username:password@yourip:port-if-not-21 supprisingly IE seems to do it best opens if a file explorer window so you can drag and drop files.
yes. but you need an FTP service running. NGINX only serves data via HTTP.
HTTP - Hyper Text Transfer Protocol - only text in the Browser e.g. HTML - download links FTP - File Transfer Protocol - file management - however the browser handles it or via FileZilla
not a 100% sure but yes I do think so. You just need to put ftp:// at the beginning instead of http:// then your friends should be able to log in or you can also create a public read-only anonymous address where everybody is allowed to download stuff without credentials.
i dont know anything about pure ftpd but if it only secure ftp ( ftps:// ) i dont know if it will work but if it supports standard ftp ( ftp:// ) it will work.
I don't think a browser is able to open an SFTP session via URL. Also SFTP requires a complete different setup than FTP. FTP is configured via vsftpd, proftpd etc. SFTP is part of SSH and configured in your sshd file on the server.
@Fawkes I've had a look at Owncloud now. It should be quite easy to setup as well but you should keep in mind, that (S)FTP comes with almost no resource requirements (i.e. CPU and RAM) whereas Owncloud is huge compared to (S)FTP. I don't know if it could compromise you gaming experience if you are running your Minecraft server on the same machine - depends on the machine and the usage I guess.