File Picker
Overview
The File Picker will open your end user's file library and allow them to select a file. The file can then be used in the app.
You can allow your end user to upload any kind of file, or limit their selection by file type, eg. HTML, PDF, etc.
Your end users may experience lags or delays if the size of the file the try to upload is larger than 5MB
Blocks
Functions
Get File
![](https://docs.thunkable.com/~gitbook/image?url=https%3A%2F%2F689802330-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FUe3rgJfvQYLrpDR1HfWv%252Fuploads%252FwOhlPinTX4aq5NuwMgG0%252Ffp.png%3Falt%3Dmedia%26token%3D1d1d2c88-1c5d-4c25-b8a6-9284785fe7a2&width=768&dpr=4&quality=100&sign=8c33bfc8&sv=1)
Input | Description | Data Type |
---|---|---|
type | Select the type of file you want your end user to upload | Select from list |
Output | Description | Data Type |
---|---|---|
file | Points to the file that has been uploaded | Data type of the file that has been uploaded. Can also return address of the file as text |
name | Name of the uploaded file | Text |
mime type | Describes the type of file in MIME format | Text |
size | Returns size of uploaded file in bytes | Number |
was cancelled | Indicates whether the end user cancelled selecting a file | True/False |
error | If there is an error, returns the error. Else returns | Text |
Last updated