2018-03-07 15:44:50 +01:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								# File Upload
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2018-10-01 12:19:34 +02:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								::: warning
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								This feature requires the Upload plugin (installed by default).
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								:::
							 
						 
					
						
							
								
									
										
										
										
											2018-04-03 18:14:56 +02:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2018-03-07 15:44:50 +01:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								Thanks to the plugin `Upload` , you can upload any kind of files on your server or externals providers such as AWS S3.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								## Usage
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								The plugin exposes a single route `POST /upload`  to upload one or multiple files in a single request.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2018-10-01 12:19:34 +02:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								::: warning
							 
						 
					
						
							
								
									
										
										
										
											2018-12-14 11:31:41 +01:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								Please send FormData in your request body
							 
						 
					
						
							
								
									
										
										
										
											2018-10-01 12:19:34 +02:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								:::
							 
						 
					
						
							
								
									
										
										
										
											2018-03-07 15:44:50 +01:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								**Parameters**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2018-03-07 15:50:59 +01:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								-  `files` : The file(s) to upload. The value(s) can be a Buffer or Stream. 
						 
					
						
							
								
									
										
										
										
											2018-10-19 09:26:09 +02:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								-  `path` : (optional): The folder where the file(s) will be uploaded to (only supported on strapi-provider-upload-aws-s3 now). 
						 
					
						
							
								
									
										
										
										
											2018-03-07 15:50:59 +01:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								-  `refId` : (optional): The ID of the entry which the file(s) will be linked to. 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								-  `ref` : (optional): The name of the model which the file(s) will be linked to (see more below). 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								-  `source` : (optional): The name of the plugin where the model is located. 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								-  `field` : (optional): The field of the entry which the file(s) will be precisely linked to. 
						 
					
						
							
								
									
										
										
										
											2018-03-07 15:44:50 +01:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2018-03-07 16:16:22 +01:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								## Models
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								To add a new file attribute in your models, it's like adding a new association. In the first example, you will be able to upload and attach one file to the avatar attribute. Whereas, in our second example, you can upload and attach multiple pictures to the product.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								**Path —** `User.settings.json` .
							 
						 
					
						
							
								
									
										
										
										
											2019-11-07 12:05:39 +01:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2018-03-07 16:16:22 +01:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								```json
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								{
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  "connection": "default",
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  "attributes": {
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    "pseudo": {
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      "type": "string",
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      "required": true
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    },
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    "email": {
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      "type": "email",
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      "required": true,
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      "unique": true
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    },
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    "avatar": {
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      "model": "file",
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      "via": "related",
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      "plugin": "upload"
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    }
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  }
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								```
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								**Path —** `Product.settings.json` .
							 
						 
					
						
							
								
									
										
										
										
											2019-11-07 12:05:39 +01:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2018-03-07 16:16:22 +01:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								```json
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								{
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  "connection": "default",
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  "attributes": {
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    "name": {
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      "type": "string",
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      "required": true
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    },
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    "price": {
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      "type": "integer",
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      "required": true
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    },
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    "pictures": {
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      "collection": "file",
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      "via": "related",
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      "plugin": "upload"
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    }
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  }
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								```
							 
						 
					
						
							
								
									
										
										
										
											2018-03-07 15:44:50 +01:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2018-03-07 16:18:55 +01:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								## Examples
  
						 
					
						
							
								
									
										
										
										
											2018-03-07 15:44:50 +01:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2018-12-13 15:17:54 +01:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								**JS example**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								The `Article`  attributes:
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								```json
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								"attributes": {
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  "title": {
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    "default": "",
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    "type": "string"
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  },
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  "cover": {
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    "model": "file",
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    "via": "related",
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    "plugin": "upload",
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    "required": false
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  }
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								```
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								Code example:
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								```html
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< form >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  <!--  Can be multiple files  --> 
							 
						 
					
						
							
								
									
										
										
										
											2019-11-07 12:05:39 +01:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  < input  type = "file"  name = "files"  / > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < input  type = "text"  name = "ref"  value = "article"  / > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < input  type = "text"  name = "refId"  value = "5c126648c7415f0c0ef1bccd"  / > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < input  type = "text"  name = "field"  value = "cover"  / > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  < input  type = "submit"  value = "Submit"  / > 
							 
						 
					
						
							
								
									
										
										
										
											2018-12-13 15:17:54 +01:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								< / form >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< script  type = "text/javascript" >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  const formElement = document.querySelector('form');
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2019-11-07 12:05:39 +01:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  formElement.addEventListener('submit', e => {
							 
						 
					
						
							
								
									
										
										
										
											2018-12-13 15:17:54 +01:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    e.preventDefault();
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    const request = new XMLHttpRequest();
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    request.open('POST', '/upload');
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    request.send(new FormData(formElement));
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  });
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								< / script >  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								```
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2019-11-07 12:05:39 +01:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								>  ⚠️ You have to send a FormData in any case (React, Angular, jQuery etc...)
  
						 
					
						
							
								
									
										
										
										
											2018-12-13 15:17:54 +01:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2018-03-07 15:44:50 +01:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								**Single file**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								```
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								curl -X POST -F 'files=@/path/to/pictures/file .jpg' http://localhost:1337/upload
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								```
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								**Multiple files**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								```
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								curl -X POST -F 'files[]=@/path/to/pictures/fileX .jpg' -F 'files[]=@/path/to/pictures/fileY .jpg' http://localhost:1337/upload
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								```
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								**Linking files to an entry**
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								Let's say that you want to have a `User`  model provided by the plugin `Users & Permissions`  and you want to upload an avatar for a specific user.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								```json
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								{
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  "connection": "default",
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  "attributes": {
							 
						 
					
						
							
								
									
										
										
										
											2018-03-07 16:16:22 +01:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    "pseudo": {
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      "type": "string",
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      "required": true
							 
						 
					
						
							
								
									
										
										
										
											2018-03-07 15:44:50 +01:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								    },
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    "email": {
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      "type": "email",
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      "required": true,
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      "unique": true
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    },
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    "avatar": {
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      "model": "file",
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      "via": "related",
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								      "plugin": "upload"
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    }
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  }
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								```
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								```js
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								{
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  "files": "...", // Buffer or stream of file(s)
							 
						 
					
						
							
								
									
										
										
										
											2018-08-23 11:50:33 -07:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  "path": "user/avatar", // Uploading folder of file(s).
							 
						 
					
						
							
								
									
										
										
										
											2018-03-07 15:44:50 +01:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								  "refId": "5a993616b8e66660e8baf45c", // User's Id.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  "ref": "user", // Model name.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  "source": "users-permissions", // Plugin name.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  "field": "avatar" // Field name in the User model.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								```
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								Here the request to make to associate the file (/path/to/pictures/avatar.jpg) to the user (id: 5a993616b8e66660e8baf45c) when the `User`  model is provided by the `Users & Permissions`  plugin.
							 
						 
					
						
							
								
									
										
										
										
											2019-11-07 12:05:39 +01:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2018-03-07 15:44:50 +01:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								```
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								curl -X POST -F 'files=@/path/to/pictures/avatar .jpg& refId=5a993616b8e66660e8baf45c& ref=user& source=users-permissions& field=avatar' http://localhost:1337/upload
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								```
							 
						 
					
						
							
								
									
										
										
										
											2018-04-16 14:17:21 +02:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								## Install providers
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								By default Strapi provides a local file upload system. You might want to upload your files on AWS S3 or another provider.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2018-12-14 12:24:22 +01:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								You can check all the available providers developed by the community on npmjs.org - [Providers list ](https://www.npmjs.com/search?q=strapi-provider-upload- )
							 
						 
					
						
							
								
									
										
										
										
											2018-12-14 11:31:41 +01:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2018-04-16 14:17:21 +02:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								To install a new provider run:
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								```
							 
						 
					
						
							
								
									
										
										
										
											2018-10-19 09:26:09 +02:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								$ npm install strapi-provider-upload-aws-s3@alpha  --save
							 
						 
					
						
							
								
									
										
										
										
											2018-04-16 14:17:21 +02:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								```
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2019-11-07 12:05:39 +01:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								::: tip
							 
						 
					
						
							
								
									
										
										
										
											2018-12-14 11:31:41 +01:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								If the provider is not in the mono repo, you probably not need `@alpha`  depending if the creator published it with this tag or not.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								:::
							 
						 
					
						
							
								
									
										
										
										
											2018-04-16 14:17:21 +02:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2018-12-14 11:31:41 +01:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								Then, visit `/admin/plugins/upload/configurations/development`  on your web browser and configure the provider.
							 
						 
					
						
							
								
									
										
										
										
											2018-06-18 17:54:20 +02:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2018-12-14 11:31:41 +01:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								## Create providers
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								If you want to create your own, make sure the name starts with `strapi-provider-upload-`  (duplicating an existing one will be easier to create), modify the `auth`  config object and customize the `upload`  and `delete`  functions.