Linux 软件免费装
Banner图

SFTP Sync for Google Sheets

开发者 bigrat95
更新时间 2026年3月1日 22:44
捐献地址: 去捐款
PHP版本: 7.4 及以上
WordPress版本: 6.9
版权: GPLv2 or later
版权网址: 版权信息

标签

sync csv automation google sheets sftp

下载

1.5.0

详情介绍:

SFTP Sync for Google Sheets allows you to automatically export Google Sheets and upload them to any SFTP server. Use cases include: Features: How It Works:
  1. Install and activate the plugin
  2. Configure your SFTP credentials in Settings
  3. Copy the provided Google Apps Script to your Sheet
  4. Set up a daily trigger in Google Apps Script
  5. Your sheet automatically syncs to your SFTP server

安装:

  1. Upload the sftp-sync-for-google-sheets folder to /wp-content/plugins/
  2. Activate the plugin through the 'Plugins' menu in WordPress
  3. Go to Settings → SFTP Sync
  4. Enter your SFTP server credentials
  5. Click "Test SFTP Connection" to verify
  6. Copy the Google Apps Script from the settings page
  7. Paste into your Google Sheet (Extensions → Apps Script)
  8. Run setupTrigger() to enable daily exports

屏幕截图:

  • Export settings with schedule, filename mode, and format options
  • Activity logs and Google Apps Script code generator

升级注意事项:

1.5.0 WordPress.org initial release with improved security and code quality. 1.4.0 Renamed plugin for WordPress.org compliance. Fixed escaping and sanitization issues. 1.3.1 WordPress.org plugin directory compliance fixes. 1.3.0 Fixes CSV header detection in WP All Import. Re-copy the Google Apps Script after updating. 1.2.0 Security improvements: Better password encryption and API rate limiting. 1.1.0 New export settings! Configure schedule, filename mode, and format directly in the plugin. 1.0.0 Initial release.

常见问题:

What SFTP libraries are supported?

The plugin supports both the PHP ssh2 extension and phpseclib. If neither is available, you can install phpseclib via Composer.

Are there any costs?

This solution uses Google Apps Script and your existing SFTP server. No third-party paid services are required.

Can I export as XLSX instead of CSV?

Yes! Change EXPORT_FORMAT: 'csv' to EXPORT_FORMAT: 'xlsx' in the Google Apps Script configuration.

How do I change the export schedule?

In the Google Apps Script, change SCHEDULE: 'daily' to SCHEDULE: 'hourly' for hourly exports, or modify DAILY_HOUR to change the time.

Is the API secure?

Yes. All requests require a valid API key. The key is auto-generated on activation and can be regenerated anytime.

Can I use this with multiple Google Sheets?

Yes! Each Google Sheet can have its own Apps Script. They can all point to the same WordPress endpoint.

更新日志:

1.5.0 1.4.0 1.3.1 1.3.0 1.2.0 1.1.0 1.0.0