Help Center

Common questions and support documentation

We're
by
All CollectionsTroubleshootingEnabling FTP / SFTP or changing file permissions for Restoring your backup

Enabling FTP / SFTP or changing file permissions for Restoring your backup


For FTP Setup: When restoring your backup, if there are insufficient file permissions you should define a few of the below constants that are essential to perform the restore. The constants can be defined by editing the wp-config file and adding the below lines:

define( 'FS_METHOD', 'ftpext' );
define('FTP_BASE', '/path/to/wordpress/');
define( 'FTP_USER', 'username' );
define( 'FTP_PASS', 'password' );
define( 'FTP_HOST', 'ftp.example.org' );
define( 'FTP_SSL', false );

For SFTP Setup: When restoring your backup, if there are insufficient file permissions you should define a few of the below constants that are essential to perform the restore. The constants can be defined by editing the wp-config file and adding the below lines:

define( 'FS_METHOD', 'ssh2' );
define('FTP_BASE', '/path/to/wordpress/');
define( 'FTP_USER', 'username' );
define( 'FTP_PASS', 'password' );
define( 'FTP_HOST', 'ftp.example.org' );
define( 'FTP_PUBKEY', '/home/username/.ssh/id_rsa.pub' );
define( 'FTP_PRIKEY', '/home/username/.ssh/id_rsa' );
define( 'FTP_SSL', true );

If you have any more questions on why this needs to be added, please refer to the page here: https://codex.wordpress.org/Editing_wp-config.php and search for WordPress Upgrade Constants or email our support desk at help@wptimecapsule.com so that we can explain better :)

Still need help? Contact Us
Did this answer your question?