KDE file server
From MEPIS Documentation Wiki
KDE public file server kpf, is a lightweight kicker applet which allows the selection of folders as network shares, which are in turn accessible to the Internet via HTTP. It is the answer to the question, "How can I send this huge file that is too large to be allowed by the recipients email provider?" You allow him to download it from your computer.
Like other file-serving clients, it may have some issues with regard to firewalls and routers.
Set up the KDE file server
- Right-click on Kicker in an empty spot --> Add Applet to Panel... --> Public File Server
- Click on the newly added applet and select "New Server..."
- Select the folder that you want to make public, select the port number (make sure you allow connections to that port in your firewall settings). You should use a different port for each share. Make sure you stick to upper ports that aren't in use for other protocols; if you aren't sure, use the default (8001) and subsequent numbers for additional shares (8002, 8003, etc).
- Specify the bandwidth limit. If you don't care, just raise it up to something high.
- If zeroconf is not working, you'll get a message about this. It's ok if you don't have this, it will still work.
- Click finish.
Accessing KDE file server from a client
- You need to know the IP address of the server, and what port you set it up to use. We'll assume in this case the server is 192.168.1.100 and the port was 8001. THESE VALUES PROBABLY WON'T WORK IN YOUR SETUP! You need to find the IP address of the server.
- Open a browser on the client (Firefox, Konqueror, IE, Opera, etc.)
- In the address bar, type this:
http://<ipaddress>:<port>in our example, that would look like:
- If this doesn't work, you can check to see if the server is running by opening a browser on the server and typing
http://localhost:<port>(in our example, http://localhost:8001). If this works, but the remote client doesn't work, you probably have a firewall/connectivity problem, check this list of connectivity issues. If it doesn't work, there is a problem with the service itself.
- Make sure your firewall doesn't block the port that your server uses.
- If you want to use your server to share files to the Internet:
- Your computer should have either a real IP address, or if it uses NAT, your have to forward the port used by the remote access programs to the local IP address assigned to your computer.
- Make sure that your IP address doesn't change, if you don't have control over it, try the free Dynamic DNS service offered by dyndns.com