Upload a File
Follow the steps below to upload a file to MindsDB.
Note that the trailing whitespaces on column names are erased upon uploading a file to MindsDB.
-
Access the MindsDB Editor.
-
Navigate to
Add data
section by clicking theAdd data
button located in the top right corner. -
Choose the
Files
tab. -
Choose the
Import File
option. -
Upload a file (here it is
house_sales.csv
), name a table used to store the file data (here it ishouse_sales
), and click theSave and Continue
button.
Configuring URL File Upload for Specific Domains
The File Uploader can be configured to interact only with specific domains by using the file_upload_domains
setting in the config.json
file.
This feature allows you to restrict the handler to upoad and process files only from the domains you specify, enhancing security and control over web interactions.
To configure this, simply list the allowed domains under the file_upload_domains
key in config.json
. For example:
What’s Next?
Now, you are ready to create a predictor from a file. Make sure to check out this guide on how to do that.
Was this page helpful?