View previous topic :: View next topic |
Author |
Message |
Hara Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/36368415941b0dd04d1b0e.gif)
Joined: 25 Jan 2004 Posts: 162
|
Posted: Fri Aug 27, 2004 5:47 pm Post subject: Simple FTP server in Under 5 Minutes or LESS (Newb Guide) |
|
|
This guide is for any ftp newb who wants the most basic anonymous ftp server so they can share files either on the internet or on their local network (if they are behind a firewall such as a home router) and access it using a web browser like firefox.
Assumming you have a network connection and logged in as root
Hopefully you have a computer fast enough to compile this small package in under 5 minutes.
Next
This is the folder to put your shared files.
You should already have a user "ftp" in the /etc/passwd file. If not you can create one with the passwd command and give it the home directory /home/ftp.
Start the server with
And your done! Enjoy!
Note: To give out your ip address to your friends use ifconfig to find out what it is (need to be root)
Than just type in a web browser ftp://192.168.1.101 or whatever the ip address is
If you want anything more than that, than it probably will take more than 5 minutes (or not) but than you are experienced enough to read documentation and understand it on their website. _________________ Hara
(Mandrake->Slackware->LFS(Never Finished)->Gentoo) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
johntramp Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/56157827742c1ca7353e76.jpg)
Joined: 03 Feb 2004 Posts: 457 Location: New Zealand
|
Posted: Wed Sep 01, 2004 11:18 am Post subject: |
|
|
Hi, nice easy guide, worked fine.
Q. how secure is this? if I was to share my files over this ftp is there any way someone could modify them? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
gnuageux Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/161644882641fd6ea588345.png)
Joined: 17 Apr 2004 Posts: 1201
|
Posted: Wed Sep 01, 2004 11:31 am Post subject: |
|
|
Just give the shared directory read access and no, they wont be able to change them. _________________ The realOTW: http://forums.realotw.org/index.php
Registered Linux user#364538 |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
johntramp Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/56157827742c1ca7353e76.jpg)
Joined: 03 Feb 2004 Posts: 457 Location: New Zealand
|
Posted: Sun Sep 12, 2004 6:45 am Post subject: |
|
|
and if I was to want an uploads folder would I chmod 660 it? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
galenjr Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/17049445054146989ecf5ed.gif)
Joined: 02 Aug 2004 Posts: 88 Location: Connecticut, USA
|
Posted: Sun Sep 12, 2004 6:53 am Post subject: |
|
|
Well if its an anonymous ftp server and you want anonymous people to be able to upload to it id say chmod 777. 660 is owner, group read/write access. for anonymous ftp i imagine you'd need owner,group,other to have read/write/execute access. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|