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.
-
Open the
Add
menu and chooseUpload file
. -
Select a file, provide its name, and click on
Save & Continue
. -
Now you can query the file.
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.