diff --git a/docs/dedicated-servers/getting-started/guestftp.mdx b/docs/dedicated-servers/getting-started/guestftp.mdx new file mode 100644 index 0000000..cc85b9b --- /dev/null +++ b/docs/dedicated-servers/getting-started/guestftp.mdx @@ -0,0 +1,20 @@ +--- +id: guestftp +title: Setting up Guest FTP +sidebar_label: guestftp +--- + +## Setting up a Guest FTP Service + +First, you have to elevate to root user with `sudo su -` and then inputting your password. + +When you’re root, you need to download the GuestFTP script: `wget https://hnielsen.eu/files/guestftp.sh` + +Now you need to make the script executable with `chmod +x guestftp.sh`. + +Once the file is executable, you can run it. The syntax for running is as follows. ./guestftp.sh username password /path/to/folder/ + +So for example to give username ”test”, with the password ”test” access to folder /home/test/test/, you would run the command as follows: +`./guestftp.sh test test /home/test/test/` + +After the script has ran fully, you can check that the service is up and running with `service guest-ftp status` and it should say that the service is active.