appsmith icon indicating copy to clipboard operation
appsmith copied to clipboard

[Bug]-[248]:FilePicker Max File Size has a minimum value of 1 Mb

Open ed-parsadanyan opened this issue 2 years ago • 7 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

Description

FilePicker has a Max File Size option which allows non-integer limits (i.e. 1.5 Mb). However, the minimal value is strictly equal to 1 Mb, which is too much for text file uploads, for example.

I can suggest updating this option and adding a possibility to include values such as 0.5 (approx 512 kb), 0.1, 0.05 and so on.

Steps To Reproduce

  1. Add a FilePicker widget
  2. Go to Max file size(Mb) option
  3. Enter anything less than 1 (i.e. 0.5)

image

Public Sample App

No response

Issue video log

No response

Version

Cloud

ed-parsadanyan avatar Dec 01 '22 14:12 ed-parsadanyan

Assuming 10% filepicker users need this control

Stats

Stat Values
Reach 62
Effort (months) 0.5

dilippitchika avatar Dec 07 '22 07:12 dilippitchika

and maybe need to upload big file over 1GB. it can't set more then 100M.

JhouXerox avatar Dec 09 '22 05:12 JhouXerox

Hello @JhouXerox can you please expand your use-case as to why you need to upload more than 1GB files on appsmith?

dilippitchika avatar Dec 09 '22 06:12 dilippitchika

@dilippitchika Just a case. upload custom file like .dmg which is over 100Mb for now is not allowed. I think filepicker widget should config min size and max size because we can use fetch api to upload file over 1.8.12

JhouXerox avatar Dec 09 '22 06:12 JhouXerox

Can i ask what is the use-case where you are uploading .dmg files over 100MB?

dilippitchika avatar Dec 09 '22 06:12 dilippitchika

Also we are discussing the upload large files issue here - https://github.com/appsmithorg/appsmith/issues/18245

Please follow this issue for more details

dilippitchika avatar Dec 09 '22 06:12 dilippitchika

for example, I have an Media promotion system. Appsmith help me to CRUD new Advertising video.because of the video quality, file size can't limit. It Always exceed the max. @dilippitchika

JhouXerox avatar Dec 09 '22 06:12 JhouXerox