View definition

(*RequestCtx).FormFile

Defined in github.com/valyala/fasthttp/server.go

Description

FormFile returns uploaded file associated with the given multipart form key.

The file is automatically deleted after returning from RequestHandler, so either move or copy uploaded file into new place if you want retaining it.

Use SaveMultipartFile function for permanently saving uploaded file.

The returned file header is valid until returning from RequestHandler.

FormFile is referenced in 2 repositories

github.com/labstack/echo github.com/sheng/air