Skip to content

Commit bdc5302

Browse files
committed
improve handling file upload content
1 parent 9fbd52a commit bdc5302

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

handling-file-upload/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ If you have form like following snippet
1414
</form>
1515
```
1616

17-
To retrieve file uploaded by client, you need to call `getUploadedFile()`. It returns data of type `IUploadedFileArray` which array of `IUploadedFile` instance.
17+
To retrieve file uploaded by client, you need to call `getUploadedFile()` method from `IRequest` interface. It returns data of type `IUploadedFileArray` which array of `IUploadedFile` instance. Please read [Working with request](/working-with-request) for information how to work with request object.
1818

1919

2020
```
@@ -90,7 +90,7 @@ If client does not send filename then it returns empty string.
9090

9191
## File Upload Validation
9292

93-
Fano Framework validation feature provides several built-in validation rules you can use to [validate against file upload](/security/form-validation/built-in-validation-rules#uploaded-file), such as. to verify that field is indeed a file upload, to verify that file upload match certain MIME type or more advanced use, such as, antivirus scan validation or file format validation.
93+
Fano Framework validation feature provides several built-in validation rules you can use to [validate against file upload](/security/form-validation/built-in-validation-rules#uploaded-file), such as, to verify that field is indeed a file upload, to verify that file upload match certain MIME type or more advanced use, such as, antivirus scan validation or file format validation.
9494

9595
## Example demo
9696

0 commit comments

Comments
 (0)