Endpoint Upload file
Name
upload_file
Description
Parameters
| Parameter | Required | Options |
|---|---|---|
|
Name:
Label: TargetFilePath Specify a file path in Dropbox to save file to |
YES | |
|
Name:
Label: SourceFilePath Specify a disk file path to upload |
YES |
Output Columns
| Label | Data Type (SSIS) | Data Type (SQL) | Length | Description |
|---|---|---|---|---|
| Id |
DT_WSTR
|
nvarchar(4000)
|
4000 | |
| Name |
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
Upload file
| Required Parameters | |
|---|---|
| TargetFilePath | Fill-in the parameter... |
| SourceFilePath | Fill-in the parameter... |
| IsMultiPart | Fill-in the parameter... |
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
Upload file
| Required Parameters | |
|---|---|
| TargetFilePath | Fill-in the parameter... |
| SourceFilePath | Fill-in the parameter... |
| IsMultiPart | Fill-in the parameter... |
ODBC application
Use these SQL queries in your ODBC application data source:
Upload a file
SELECT *
FROM upload_file
WITH (TargetFilePath='/MySubfolder/file-I-want-to-upload-to-dropbox.dat'
,DiskFilePath='C:\file\I\want\to\upload.dat'
)
SQL Server
Use these SQL queries in SQL Server after you create a data source in Data Gateway:
Upload a file
DECLARE @MyQuery NVARCHAR(MAX) = 'SELECT *
FROM upload_file
WITH (TargetFilePath=''/MySubfolder/file-I-want-to-upload-to-dropbox.dat''
,DiskFilePath=''C:\file\I\want\to\upload.dat''
)';
EXEC (@MyQuery) AT [LS_TO_DROPBOX_IN_GATEWAY];