Endpoint Download folder as ZIP archive
Name
download_folder
Description
Downloads a folder with all the files and folders it contains as ZIP file
Parameters
| Parameter | Required | Options | 
|---|---|---|
| 
                    Name:
                     Label: SourcePath  | 
                YES | 
Output Columns
| Label | Data Type (SSIS) | Data Type (SQL) | Length | Description | 
|---|---|---|---|---|
| Status | 
                    DT_WSTR
                 | 
                
                    nvarchar(4000)
                 | 
                4000 | 
        If the column you are looking for is missing, consider customizing Dropbox Connector.
    
Input Columns
| Label | Data Type (SSIS) | Data Type (SQL) | Length | 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 or in API Destination SSIS Data Flow components to read or write data.
API Source
API Source - Dropbox
    Read / write Dropbox data inside your app; perform many Dropbox operations without coding, just use easy to use high performance API Connector for Dropbox
    Dropbox
    Download folder as ZIP archive
    | Required Parameters | |
|---|---|
| SourcePath | Fill-in the parameter... | 
| SaveContentAsBinary | Fill-in the parameter... | 
| FileOverwriteMode | Fill-in the parameter... | 
| ResponseDataFile | Fill-in the parameter... | 
| Optional Parameters | |
| RequestTimeoutMs | 7200000 | 
| RawOutputDataRowTemplate | {Status:'Downloaded'} | 
| EnableRawOutputModeSingleRow | True | 
API Destination
API Destination - Dropbox
    Read / write Dropbox data inside your app; perform many Dropbox operations without coding, just use easy to use high performance API Connector for Dropbox
    Dropbox
    Download folder as ZIP archive
    | Required Parameters | |
|---|---|
| SourcePath | Fill-in the parameter... | 
| SaveContentAsBinary | Fill-in the parameter... | 
| FileOverwriteMode | Fill-in the parameter... | 
| ResponseDataFile | Fill-in the parameter... | 
| Optional Parameters | |
| RequestTimeoutMs | 7200000 | 
| RawOutputDataRowTemplate | {Status:'Downloaded'} | 
| EnableRawOutputModeSingleRow | True | 
ODBC application
Use these SQL queries in your ODBC application data source:
Download a 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 a 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 [LS_TO_DROPBOX_IN_GATEWAY];