LogoLogo
About
  • Home
  • Guides
  • BDK
  • REST API
  • SFTP
    • Overview
    • Downloading Files using SFTP
    • Uploading Files using SFTP
Powered by GitBook
On this page
  • Basic Upload
  • Upload with Specified Remote Path

Was this helpful?

Export as PDF
  1. SFTP

Uploading Files using SFTP

Automation procedures for uploading files using SFTP.

Basic Upload

To upload a file to an SFTP server, use the following syntax:

connect to sftp with
    the host is "sftp.example.com"
    the username is "user"
    the password is "password"
get the file
dump the file to sftp

Upload with Specified Remote Path

To upload a file to a specific path on the SFTP server, use the following syntax:

connect to sftp with
    the host is "sftp.example.com"
    the username is "user"
    the password is "password"
get the file
the remote path is "/uploads/myfile.txt"
dump the file to sftp

In this example, the file is uploaded to the specified remote path on the SFTP server.

Last updated 1 month ago

Was this helpful?