Drupal is a registered trademark of Dries Buytaert
Search API Solr 4.4.0 Minor update available for module search_api_solr (4.4.0). Page Manager 8.x-4.0 Major update available for module page_manager (8.x-4.0). Trash 3.1.0-beta2 New beta version released for module trash (3.1.0-beta2). Commerce AutoSKU 3.0.1 Minor update available for module commerce_autosku (3.0.1). Custom Field 4.0.10 Minor update available for module custom_field (4.0.10). Alternative login ID & display names 2.0.12 Minor update available for module alt_login (2.0.12). EntityReference UUID 3.0.1 Minor update available for module entity_reference_uuid (3.0.1). LocalGov Publications Importer 1.1.1 Minor update available for module localgov_publications_importer (1.1.1). Configuration Override Warn 8.x-1.6 Module config_override_warn updated after 10 months of inactivity (8.x-1.6). Table Alternate Rows Module table_altrow crossed 1,000 active installs.

This module allows Drupal to securely access files from a remote SFTP server without downloading them. It connects to a configured remote directory and retrieves file content on demand, making it useful for integrating with external systems and avoiding local storage duplication.

The Fetch SFTP File module provides a secure way for Drupal to access files stored on a remote SFTP server. Instead of importing or storing files locally, the module connects to a configured remote directory and retrieves file information or content when needed.

This approach is useful for integrations where files must remain on an external system while still being available to Drupal for processing, validation, or display.

Features

  • Secure SFTP connection to a remote server
  • Configuration of a dedicated remote directory
  • Access to files stored in the configured location
  • On-demand retrieval of file contents
  • Service-based architecture for easy integration
  • Support forcustom controllers and business logic

Configuration

After installing the module, configure the connection settings at: /admin/structure/fetch-sftp-file

Required Settings

  • SFTP host
  • Username
  • Password
  • Port
  • Remote directory path

Dependencies

  • phpseclib/phpseclib (installed automatically through Composer)

Use Cases

  • Reading files generated by external systems
  • Processing remote data feeds
  • Integrating Drupal with enterprise file repositories
  • Accessing documents without duplicating storage in Drupal

Activity

Total releases
1
First release
Jun 2026
Latest release
1 month ago
Releases (12 mo)
1 ▲ from 0
Maintenance
Active

Releases

Version Type Release date
1.0.0 Stable Jun 11, 2026