I am using [Redactor](https://imperavi.com/redactor/) as an HTML editor, which has a [component for uploading images and files](https://imperavi.com/redactor/examples/images-and-files/upload-or-drag-images/). 

Redactor takes care of the client side bit, and I need to provide the server side upload functionality. 

I have no problem getting the uploads to work if I use `Request.Files` in the controller. 

But I would like to bind the posted files to a Model, and I seem unable to do this, because the parameter they are sent with is `files[]` - with square brackets in the name. 

**My question:** 

Is it possible to bind the posted `"file[]"` to an MVC model? It's an invalid property name, and using `file` alone doesn't work. 

---

This file input looks like this. I can specify a name other than `file`, but Redactor adds `[]` to the end, regardless of the name. 

```
<input type="file" name="file" multiple="multiple" style="display: none;">

```

I am trying to bind to a property like this: 

```
public HttpPostedFileBase[] File { get; set; }

```

When I watch the upload take place, I see this in the request (I presume that redactor may be adding the square brackets behind the scenes): 

```
Content-Disposition: form-data; name="file[]"; filename="my-image.jpg"

```

Also relevant: 

> 
> Redactor always sends the uploading request with content-type as multipart/form-data. So you don't need to add this enctype anywhere
> 
> 
>