Deploying code with SFTP
Add your public SSH key to your Hyperlane account if you haven't already.
File & folders that are uploaded via SFTP are not yet automatically committed to Git, so if you want to have these changes versioned, make sure that you add them to your Git repository.
Go to one of your projects and choose the tab of the environment you want to use SFTP with.
Inside the INFO tab, you will find all the information you need to access your application via SFTP.
Simply go to the INFO tab of the environment of your choosing and click ENABLE SFTP.
Next, you will have to activate the public SSH key you added to your Hyperlane account.
When changing your Hyperlane account's SSH key, it will have to be activated again.
Connecting with an FTP client
Using your favorite FTP-client, log in with the credentials found in the SFTP Credentials card inside the INFO tab if your chosen environment.
In you preferred FTP client, you will see the following folders:
wp-content/uploadsfolder of your WordPress installation
databasecontains the MySQL database
site folder will typically contain the following folders:
currentthe current active code base
previousthe code base of the previous release, which can be use to rollback
build0contains the initial code base, coming from Git
buildxxcontains the new release that are deployed from Git
data folder contains the folders with user generated files like photo uploads of your
For WordPress, the
wp-content/uploads folder are symlinked and are always identical.
Changes made through SFTP are live immediatly, no need to do anything else.