This package has been deprecated

Author message:

Strapi V3 is no longer maintained

strapi-provider-upload-local

3.6.11 • Public • Published

strapi-provider-upload-local


Deprecation Warning ⚠️

Hello! We have some news to share,

We’ve decided it’ll soon be time to end the support for strapi-provider-upload-local.

After years of iterations, Strapi is going to V4 and we won’t maintain V3 packages when it’ll reach its end-of-support milestone (~end of Q3 2022).

If you’ve been using strapi-provider-upload-local and have migrated to V4 (or if you want to), you can find the equivalent and updated version of this package at this URL and with the following name on NPM: @strapi/provider-upload-local.

If you’ve contributed to the development of this package, thank you again for that! We hope to see you on the V4 soon.

The Strapi team


Configurations

This provider has only one parameter: sizeLimit.

Example

./extensions/upload/config/settings.json

{
  "provider": "local",
  "providerOptions": {
    "sizeLimit": 100000
  }
}

The sizeLimit parameter must be a number. Be aware that the unit is in bytes, and the default is 1000000. When setting this value high, you should make sure to also configure the body parser middleware maxFileSize so the file can be sent and processed. Read more here

Resources

Links

Readme

Keywords

Package Sidebar

Install

npm i strapi-provider-upload-local

Homepage

strapi.io

Weekly Downloads

42,463

Version

3.6.11

License

SEE LICENSE IN LICENSE

Unpacked Size

5.63 kB

Total Files

4

Last publish

Collaborators

  • alexandrebodin
  • aurelsicoko
  • pierreburgy
  • lauriejim