--- title: "Sweep configuration options" slug: "file-attachment-sweep-configuration-options" description: "Manage your Quickbase sweep configurations with ease. Learn about settings, file handling, and image resizing for optimal performance." tags: ["Quickbase Extension"] updated: 2026-10-09T18:06:23Z published: 2026-10-09T18:06:23Z canonical: "help.quickbase.com/file-attachment-sweep-configuration-options" --- > ## Documentation Index > Fetch the complete documentation index at: https://help.quickbase.com/llms.txt > Use this file to discover all available pages before exploring further. # Sweep configuration options Each sweep runs from a **sweep configuration**: one record that holds every setting for one table and one file attachment field. This page lists every setting, grouped by purpose, with the values each one accepts. For what the settings do in practice, see [File Attachment Sweep features and functionality](/quickbase-extensions/docs/file-attachment-sweep-features-and-functionality). Your configuration is kept by Quickbase. To add a configuration or change a setting, [open a technical support case](https://help.quickbase.com/docs/get-help-from-quickbase-technical-support) with the configuration name and the settings you want. **Note:** Settings marked *exact value* must be entered exactly as shown. A value that doesn't match is either ignored or stops the configuration from running. ## General | Setting | Description | Values | | --- | --- | --- | | **Configuration Name** | A name for the configuration. Use it when you contact support. | Any text. | | **Type** | Where the files go. See [Sweep types](/quickbase-extensions/docs/file-attachment-sweep-features-and-functionality#sweep-types). | *Exact value:* `QB to Amazon S3`, `QB to Dropbox`, `QB to SFTP`, `QB to QB`, or `QB Get Size`. Any other value stops the configuration. | | **Status** | Whether and how the configuration runs. | Active for nightly sweeps, active for triggered sweeps only, or `Inactive`, `Deactivated`, `Cancelled`. The last three never run, even when triggered. To run both nightly and triggered, use the nightly status and set up the email notification too. | | **Config Key** | A key that a triggered sweep must send as `configkey`. Created with the configuration. | Generated; don't change it unless you also update your email notification. | ## Source app, table, and report | Setting | Description | Values | | --- | --- | --- | | **Account URL** | The Quickbase account (realm) the table is in. | For example, `yourcompany.quickbase.com`. | | **Application DBID** | The app's ID. The app must be authorized for File Attachment Sweep in the Extensions Portal. | For example, `bqxxxxxxx`. | | **DBID** | The ID of the table with the files. | A table ID. | | **Query ID** | The report that nightly sweeps process. Triggered sweeps don't use it. | The report's ID. The report must include the file attachment field and every other field the configuration reads from the record. | | **Application Token** | The app token, if the app requires application tokens. | Blank if the app doesn't require one. | | **File Attachment FID** | The file attachment field to sweep. | A field ID. Required. | The sweep signs in with the Quickbase user token saved for your account in the Extensions Portal. The token needs to be able to read the records and, if the record is updated, edit them. ## Record updates | Setting | Description | Values | | --- | --- | --- | | **Update QuickBase** | Update the source record after each file. | Checkbox. For S3, Dropbox, and SFTP sweeps, the three fields below must all be set, or the record isn't updated. QB to QB needs only the checkbox field; QB Get Size needs only the file size field. | | **Update Checkbox FID** | A checkbox field the sweep checks after the file is swept. | A field ID. | | **File Name FID** | A text field for the file's name (after [file name cleanup](/quickbase-extensions/docs/file-attachment-sweep-features-and-functionality#file-names), or the name Dropbox or the SFTP server saved it under). | A field ID. | | **File Size FID** | A numeric field for the file's size in bytes. | A field ID. | | **Update Date/Time FID** | A date/time field set to the time of the sweep. | A field ID, or blank. | | **Delete QB File Attachment File** | Clear the file attachment field after the file is uploaded. This frees file attachment space. | Checkbox. Not used by QB Get Size. | | **Delete QB Record** | Delete the whole source record after the file is uploaded. The record isn't updated first. | Checkbox. Not used by QB Get Size. Test on a few records first. | ## File handling and limits | Setting | Description | Values | | --- | --- | --- | | **Maximum File Size** | Files larger than this are skipped and left on the record. | A number of MB, for example `500`. **Required** for QB to Amazon S3 and QB to QB: if it's blank, every upload fails. | | **Max No of Files Limit** | Stop the run after this many files. | A number, or blank for no limit. | | **Max Upload Limit** | Stop the run after this much has been uploaded. | A number of MB, or blank for no limit. | | **Max no of files upload error message** / **Max file size upload error message** | Text added to the run results when a limit stops the run. | Any text, or blank. | | **Remove special characters from filename** | Remove more special characters from file names, on top of the [cleanup that always happens](/quickbase-extensions/docs/file-attachment-sweep-features-and-functionality#file-names). | Checkbox. | ## Amazon S3 Used by **QB to Amazon S3**. The S3 access keys come from your Extensions Portal S3 settings; the bucket comes from the configuration. | Setting | Description | Values | | --- | --- | --- | | **S3 Bucket Name** | The bucket to upload to. | A bucket name. Required unless every record has a value in the S3 Bucket Name FID field. | | **S3 Bucket Name FID** | A field on the record that holds the bucket name, so records can go to different buckets. When the record has a value, it's used instead of S3 Bucket Name. | A field ID, or blank. | | **S3 Region** | The bucket's region. | The region your bucket is in. Blank means US East (N. Virginia). | | **S3 File Property** | Who can read each uploaded file. | *Exact value* (any capitalization): `Private`, `Public` (anyone with the link), or `BucketOwner` (the bucket owner; no space). Always set this; `Private` is recommended unless you need public links. | | **S3 Key FID** | A text field the sweep writes the S3 key to, so you can find the file later. | A field ID. | | **S3 Key Value Override** | Use your own key instead of the default `<table ID>_<Record ID#>`. | Checkbox. Turn it on only together with Custom S3 Key FID: with the override on and no custom key field, the configuration doesn't run. | | **Custom S3 Key FID** | The field (often a formula) that holds each record's key. Used when S3 Key Value Override is on and the record has a value. | A field ID. For nightly sweeps, the field must be in the report. Make sure the formula never returns an empty value. | | **Use File Name as S3 Key** | Use the cleaned-up file name as the key. This takes precedence over the custom key. | Checkbox. Files with the same name overwrite each other in the bucket. | | **S3 Key Suffix** | Text added to the end of every key, after an underscore. | Any text, or blank. For example, `invoices` gives `bqxxxxxxx_125_invoices`. | | **S3 Meta Data Tag** / **S3 Meta Data Value** | One extra metadata tag on every file. Its value is the configured value followed by the file name. Every file also gets `filename` metadata. | Both must be set, or neither. | ## Dropbox Used by **QB to Dropbox**. Dropbox access comes from your Extensions Portal Dropbox connection. | Setting | Description | Values | | --- | --- | --- | | **Upload to DropBox** | Turns on the Dropbox upload. | Checkbox. **Must be on** for QB to Dropbox. | | **DropBox Directory** | The Dropbox folder to upload to. | A folder path without a leading slash, for example `Quickbase/Invoices`. | | **Override DropBox Directory** | A different folder for this configuration. Used instead of DropBox Directory when set. | A folder path, or blank. | | **DB updated file name fid** | A field that holds the name to save each file under, instead of its original name. | A field ID, or blank. Nightly sweeps only: the field must be in the report, and triggered sweeps don't run while it's set. | | **Dropbox Download Link FID** | A field for the file's direct download link. | A field ID (a URL or text field), or blank. | | **Dropbox Resource ID FID** | A field for the file's Dropbox ID. | A field ID, or blank. | ## SFTP server Used by **QB to SFTP**. | Setting | Description | Values | | --- | --- | --- | | **Upload to SFTP** | Turns on the SFTP upload. | Checkbox. **Must be on** for QB to SFTP. | | **Host** / **Port** | The SFTP server. | For example, `sftp.yourcompany.com` and `22`. | | **SFTP ID** / **SFTP Password** | The user name and password the sweep signs in with. | Password sign-in only. | | **SFTP Remote Directory** | The folder on the server to upload to. | A path, or blank for the user's starting folder. | | **SFTP Remote File Name FID** | A field that holds the name to save each file under. The original extension is added. | A field ID, or blank. Put the name without an extension in the field. | | **Replace/Overwrite (if File exists)** | Replace a file with the same name on the server. | Checkbox. When off, a file with a name that's already there isn't uploaded, and the record is skipped. | ## Another Quickbase table Used by **QB to QB**. | Setting | Description | Values | | --- | --- | --- | | **Destination Account URL** | The Quickbase account the destination table is in. | For example, `yourcompany.quickbase.com`. Required, even if it's the same account. | | **Destination DBID** | The destination table. | A table ID. | | **Destination FA FID** | The file attachment field in the destination table. | A field ID. | | **Destination Quickbase User Token** | A user token for the destination account, if it's different from the source account. Stored encrypted. | Blank to use your account's token. | | **Add or Update** | Add a new destination record for every file, or update the destination record with the same Record ID# as the source record. | *Exact value* (any capitalization): `Add Record` or `Update Record`. With any other value, no file is copied. | | **If Not Found Add** | With Update Record: add a record when there's no destination record with that Record ID#. | Checkbox. | | **Field Mapping** | One field value to copy with the file. | `source field ID:destination field ID`, for example `6:12`, or blank. | | **Update Dest Date/Time FID** | A date/time field in the destination set to the time of the sweep. | A field ID. | If the configuration has a File Size FID, the size is written to the destination field with that same ID, so use the same field ID in both tables or leave it blank. ## Image resizing | Setting | Description | Values | | --- | --- | --- | | **Resize images** | Resize images before they're uploaded. | Checkbox. | | **Image file extensions** | Which files to resize. | Extensions with the period, separated by semicolons, for example `.jpg;.jpeg;.png`. | | **Image resize ratio** | Resize by a percentage. Used instead of width and height when set. | A number, for example `50`. | | **Image resize width** / **Image resize height** | Resize to this size, in pixels. | Numbers. Set both. | | **Image resize aspect ratio fid** / **width fid** / **height fid** | Fields on the record with per-record sizes. Used instead of the settings above when the record has a value. | Field IDs, or blank. Nightly sweeps only; the fields must be in the report. | Set either a ratio or both a width and a height. Without them, images can't be resized, and the run for that configuration stops. ## Learn more - [File Attachment Sweep overview](/quickbase-extensions/docs/file-attachment-sweep-overview) - [File Attachment Sweep features and functionality](/quickbase-extensions/docs/file-attachment-sweep-features-and-functionality) - [File Attachment Sweep troubleshooting](/quickbase-extensions/docs/file-attachment-sweep-troubleshooting)