Comments (2)
When testing, I was able to replicate. When FTP is setup, logins are made on the following dashboard pages:
- BoldGrid Backup > Backup Archives
- BoldGrid Backup > Settings > Backup Storage
- BoldGrid Backup > Backup Archive Details
I was unable to replicate ftp logins always happening on the following pages:
- BoldGrid Backup > Preflight Check
- BoldGrid Backup > Tools
On the Settings page, BoldGrid Backup lists "FTP / SFTP" as a backup storage option. it needs to know if:
- The checkbox for "FTP / SFTP" should be checked, and
- If it should say "Configured", or provide a link for the user to configure.
If the remote storage provider "is setup", then it shows the user that it is "Configured". To determine if ftp is setup, we attempt to connect and login to the ftp server: https://github.com/BoldGrid/boldgrid-backup/blob/master/admin/remote/class-boldgrid-backup-admin-ftp.php#L689-L705
To prevent the "connect and login" test on each page load, we can cache the info. If the user logged in within the last x hours, no need to check.
from boldgrid-backup.
Testing instructions:
- Setup ftp within the backup plugin
- Access the settings pages of the boldgrid backup plugin 3 or 4 times. The first time, it may login to your ftp server, but subsequent visits to the settings page should not log in to your ftp server.
How do you know if your ftp server is being logged into? Either review the logs from the command line or do something like this: https://gist.github.com/bwmarkle/adf029731c176e10f01627b73d43d736
from boldgrid-backup.
Related Issues (20)
- Restorations with different permalinks HOT 3
- [Feature] Add a View File feature to the backup browser
- Restoring site-specific constants in wp-config.php
- Ability to fetch disk usage data via RestAPI HOT 3
- [Feature] Skip writing 0-byte files on restoration
- Allow File paths in the SFTP directory name field
- Add Group Permissions to backup directory and files
- Backups are stored on webserver even if option is deselected
- Exclude linux core dumps from backup by default
- Multisite + PHP 8 Error on Admin access
- Backups taking longer with Post and Page Builder installed
- User on composer based sites getting errors HOT 5
- Timely Auto Updates are not enabled (fix this) message remains even when configured properly HOT 4
- New Backups Overwriting Viewed Backups
- Improve errors in logs
- Custom backup preview doesn't work on php 8+
- php8.1 errors
- Add option to hide update protection notice
- Preflight Check WP Dir Size is cached too long
- Fatal error: Uncaught TypeError: fread()
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from boldgrid-backup.