DropBox Connector
Documentation
Version: 1
Documentation

EndPoint Download a folder and folders/files within as ZIP archive


Name

download_folder

Description

Downloads a folder with all the files and folders it contains as ZIP file

Parameters

Parameter Label Required Options Description
SourcePath SourcePath YES

Output Columns

Label Data Type (SSIS) Data Type (SQL) Length Raw Description
Status DT_WSTR nvarchar(4000) 4000 False

Input Columns

Label Data Type (SSIS) Data Type (SQL) Length Raw Description
There are no Static columns defined for this endpoint. This endpoint detects columns dynamically at runtime.

Examples

SSIS

Use DropBox Connector in API Source component to read data or in API Destination component to read/write data:

Download a folder and folders/files within as ZIP archive using API Source

DropBox
Download a folder and folders/files within as ZIP archive
SSIS API Source - Read from table or endpoint

Download a folder and folders/files within as ZIP archive using API Destination

DropBox
Download a folder and folders/files within as ZIP archive
SSIS API Destination - Access table or endpoint

ODBC application

Use these SQL queries in your ODBC application data source:

Download folder as ZIP file

Downloads a folder with all files and folders within it as ZIP file

SELECT *
  FROM download_folder
  WITH (SourcePath='/folder-I-want-to-download'
        ,ResponseDataFile='C:\path\I\want\to\save\my\folder\to.zip'
      )

SQL Server

Use these SQL queries in SQL Server after you create a data source in Data Gateway:

Download folder as ZIP file

Downloads a folder with all files and folders within it as ZIP file

DECLARE @MyQuery NVARCHAR(MAX) = 'SELECT *
  FROM download_folder
  WITH (SourcePath=''/folder-I-want-to-download''
        ,ResponseDataFile=''C:\path\I\want\to\save\my\folder\to.zip''
      )';

EXEC (@MyQuery) AT [LINKED_SERVER_TO_DROPBOX_IN_DATA_GATEWAY];