MultiPartFile.fromPath. Error: broken pipe. When fime size more than 2MB. How to solve? 2. I wanted to check with dev tools, but cabt install because of flutter version
backend is in Dart?
no...i am sending files to backend
I think the error is in the backend: 2MB is the standard limit for services built with PHP
i talked to guy from backend and he said no limits. Also i recognized that when i make post call i get no statuscode i immediately get SocketException. But okay i will talk to him again on Monday! Thank you
Does it work using postman?
good idea! I will try to send something which has bigger size...
if postman will work, what could i do in the app? i use file picker and put paths from files into the list, then i put all of it to MumtiPartFile and make post call
If postman works, it's probably how you're sending the file. There are different ways to send files over using MultiPartFile so maybe you'd try another way.
Ok thanks! If will check all of it. Maybe will send later on a picture.
Обсуждают сегодня