Skip to content

Configuring FTP in AMP

Marellan edited this page Jan 12, 2020 · 7 revisions

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.

Basic Setup

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

Linux Users: Linux requires root access for ports below 1024

Securing via TLS

Note that TLS for FTP is mandatory with AMP Enterprise Edition.

Linux

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

Windows

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
You can’t perform that action at this time.