Reference

Endpoint List files and folders


Name

list_folder

Description

Lists files and folders within a folder

Parameters

Parameter Required Options
Name: Path

Label: Path

Name: Recursive

Label: Recursively scan subfolders

Option Value
true true
false false

Output Columns

Label Data Type (SSIS) Data Type (SQL) Length Description
Id DT_WSTR nvarchar(4000) 4000
Name DT_WSTR nvarchar(4000) 4000
Type DT_WSTR nvarchar(4000) 4000
PathLower DT_WSTR nvarchar(4000) 4000
PathDisplay DT_WSTR nvarchar(4000) 4000
ClientModified DT_DBTIMESTAMP datetime
ServerModified DT_DBTIMESTAMP datetime
Revision DT_WSTR nvarchar(4000) 4000
Size DT_I8 bigint
IsDownloadable DT_BOOL bit
ContentHash 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
List files and folders
Required Parameters
Filter by item type Fill-in the parameter...
SSIS API Source - Read from table or endpoint

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
List files and folders
Required Parameters
Filter by item type Fill-in the parameter...
SSIS API Destination - Access table or endpoint

ODBC application

Use these SQL queries in your ODBC application data source:

List folders and files within a folder

SELECT *
  FROM list_folder

List folders and files within a folder recursively

SELECT *
  FROM list_folder
  WITH (Path='/myfolder/subfolder'
       ,Recursive='true')

SQL Server

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

List folders and files within a folder

DECLARE @MyQuery NVARCHAR(MAX) = 'SELECT *
  FROM list_folder';

EXEC (@MyQuery) AT [LS_TO_DROPBOX_IN_GATEWAY];

List folders and files within a folder recursively

DECLARE @MyQuery NVARCHAR(MAX) = 'SELECT *
  FROM list_folder
  WITH (Path=''/myfolder/subfolder''
       ,Recursive=''true'')';

EXEC (@MyQuery) AT [LS_TO_DROPBOX_IN_GATEWAY];