FTP Upload

Upload a file via FTP

Description

Connect to a FTP server using a connection string and upload a file

Properties

Connection Settings (string | variable)

Connection string for FTP server.

  • host - the IP address or URL of the server

  • user - the username of the ftp account

  • password - the password for the account

  • secure - mixed - Set to true for both control and data connection encryption, 'control' for control connection encryption only, or 'implicit' for implicitly encrypted control connection (this mode is deprecated in modern times, but usually uses port 990) Default: false ( from npm documentation)

// Sample Connection String
host=127.0.0.1&username=auser&password=apassword

File to upload (string)

File path to upload

Remote Path (string)

The remote path on the FTP server to upload the file to

Additional Settings

This package uses ftp from npm. Learn more here - https://www.npmjs.com/package/ftp

Returns (string)

Returns the upload path uploaded

NPM

This block uses ftp from npm. Learn more here - https://www.npmjs.com/package/ftp

Last updated