/adonis-drive-sftp

SFTP storage driver for AdonisJS drive

Primary LanguageTypeScript

Configuration

Run the following command to configure the package

node ace configure @lmeniconi/adonis-drive-sftp

Usage

Example of use in a controller

  const fileName = 'example.txt'

  const sftp = Drive.use('sftp')
  await sftp.put(fileName, "hello world")