-
-
Notifications
You must be signed in to change notification settings - Fork 41
Configuring FTP in AMP
As of version 1.9.1.0 - AMP includes an integrated FTP server. It's not enabled by default. When enabled you will be able to connect with standard FTP clients such as Filezilla using your AMP login details.
Note that like the file manager, there's no fine-grain permissions yet - so users have full access to the instances files when using this. The FTP gives the exact same level of access as the in-browser file manager.
04/18 - It is suggested to enable it on your ADS instance instead of your individual game instances at this time.
To enable it, stop the instance you want to be able to connect to, and edit your FileManager.kvp file.
Add the following line:
FTP.FTPEnabled=true
You can also change the IP/port binding by adding:
FTP.FTPPortNumber=2121
FTP.FTPIPBinding=0.0.0.0
By default AMP allows for 16 FTP clients, you will need to allow port 2121 through your firewall as well as the 16 ports immediately above that (2121 thru 2138)
Linux Users: Linux requires root access for ports below 1024. You must change the FTP port to be above this. You cannot use the default FTP port of 21.
Note that TLS for FTP is mandatory with AMP Enterprise Edition.
AMP requires a certificate in PFX format with a passphrase. You can use ampinstmgr convertcertificate to convert a standard .cert + .key file pair into a PFX on Linux systems. If you're running on Linux and use letsencrypt you can convert your existing keypair and use this with FTP.
Once you've obtained a PFX certificate, you should add the following lines to your FileManager.kvp
FTP.UseTLS=true
FTP.FTPSCertificatePath=/path/to/some/pfx/file.pfx
FTP.FTPSCertificatePassword=y0urc0mplexpa5$word
Install the certificate to your system into the local machine store, and then view the certificate to get its serial number. Once you've done this add the following lines to your FileManager.kvp file.
FTP.UseTLS=true
FTP.FTPSCertificateSerial=CERTIFICATESERIALNUMBERGOESHERE