FME Flow: 2025.2 BETA
Configuring a Dropbox Subscriber
In the FME Flow Web User Interface, select Notifications > Subscriptions, and click Create.
- Name: Provide a name for the subscription.
- Protocol: Select Dropbox.
- Topics Subscribed To: Specify the Topics you want to subscribe to using the drop-down selector. To create a topic and use it right away, click +.
- Authentication Mode: Specifies the type of OAuth2 access token for the Dropbox account to which you want to upload.
- Use Authorization Code: Use a Dropbox token generated dynamically. You must authorize with Dropbox to generate an access token, which expires after a four-hour session, and a refresh token that is applied automatically for longer access:
- Click Authorize.
- On the Authorize Dropbox dialog, provide the following credentials for your Dropbox account app:
- App Key
- Authorization Code
- App Secret
- Click Authorize.
- Use Token: Use a Dropbox access token generated before September 2021 that does not expire.
- Use Authorization Code: Use a Dropbox token generated dynamically. You must authorize with Dropbox to generate an access token, which expires after a four-hour session, and a refresh token that is applied automatically for longer access:
- Access Token– If Use Authorization Code is specified above, this field auto-populates after Dropbox authorization is completed. If Use Token is specified above, provide the OAuth2 access token for the Dropbox account you want to watch.
- Refresh Token: If Use Authorization Code is specified above, this field auto-populates after Dropbox authorization is completed.
- Access Token Expiry: If Use Authorization Code is specified above, this field auto-populates after Dropbox authorization is completed.
- Source Path – The source file to upload. If the source file is saved to a Resources directory, click the ellipsis (...) and select the file. If the file is in a different location, enter the file path directly. File paths must use forward slashes (/) or escaped backslashes (\\).
- Destination Path – The path to the Dropbox folder to upload the file.
Note Specify file paths using forward slashes (/) or escaped backslashes (\\).
Dropbox Notification Keywords
Use the following reserved keywords in the notification content to modify Dropbox subscriber settings:
-
dropbox_remotedestination
: The destination path to upload the file. -
dropbox_localsource
: The path to the source file to upload.
Note Specify file paths using forward slashes (/) or escaped backslashes (\\).
Example
{
"dropbox_remotedestination" : "/",
"dropbox_localsource" : "C:/test.txt"
}