Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Fetch Sftp File

No security coverage Under active development

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
Drupal 10–11

Ask your assistant about Fetch Sftp File

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
1
Tracked since
Jun 2026
Latest release
4 months ago
Releases (12 mo)
1 ▲ from 0
Maintenance
Active

Releases

Version Type Core PHP Release date
1.0.0 Stable 10–11 Jun 11, 2026