עזרה עם שגיאה בהעלאת קובץ בחלקים לימות המשיח בc#
-
איזה path כתבת?
-
curl ^"https://private.call2all.co.il/ym/api//UploadFile^" ^ -H ^"Accept: application/json^" ^ -H ^"Accept-Language: he-IL,he;q=0.9^" ^ -H ^"Cache-Control: no-cache^" ^ -H ^"Connection: keep-alive^" ^ -H ^"Content-Type: multipart/form-data; boundary=----WebKitFormBoundaryIMbkXAPvau1ArzUz^" ^ -H ^"Cookie: XXXXXXXXXX -H ^"DNT: 1^" ^ -H ^"Origin: https://private.call2all.co.il^" ^ -H ^"Referer: https://private.call2all.co.il/yemot-admin-g1/^" ^ -H ^"Sec-Fetch-Dest: empty^" ^ -H ^"Sec-Fetch-Mode: cors^" ^ -H ^"Sec-Fetch-Site: same-origin^" ^ -H ^"User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36^" ^ -H ^"X-Requested-With: XMLHttpRequest^" ^ -H ^"sec-ch-ua: ^\^"Chromium^\^";v=^\^"130^\^", ^\^"Google Chrome^\^";v=^\^"130^\^", ^\^"Not?A_Brand^\^";v=^\^"99^\^"^" ^ -H ^"sec-ch-ua-mobile: ?0^" ^ -H ^"sec-ch-ua-platform: ^\^"Windows^\^"^" ^ --data-raw ^"------WebKitFormBoundaryIMbkXAPvau1ArzUz^ Content-Disposition: form-data; name=^\^"uploader^\^"^ ^ yemot-admin^ ------WebKitFormBoundaryIMbkXAPvau1ArzUz^ Content-Disposition: form-data; name=^\^"token^\^"^ ^ XXXXXXXXXXXXXXXXX^ ------WebKitFormBoundaryIMbkXAPvau1ArzUz^ Content-Disposition: form-data; name=^\^"path^\^"^ ^ ivr/22/^ ------WebKitFormBoundaryIMbkXAPvau1ArzUz^ Content-Disposition: form-data; name=^\^"convertAudio^\^"^ ^ 0^ ------WebKitFormBoundaryIMbkXAPvau1ArzUz^ Content-Disposition: form-data; name=^\^"autoNumbering^\^"^ ^ true^ ------WebKitFormBoundaryIMbkXAPvau1ArzUz^ Content-Disposition: form-data; name=^\^"qqpartindex^\^"^ ^ 0^ ------WebKitFormBoundaryIMbkXAPvau1ArzUz^ Content-Disposition: form-data; name=^\^"qqpartbyteoffset^\^"^ ^ 0^ ------WebKitFormBoundaryIMbkXAPvau1ArzUz^ Content-Disposition: form-data; name=^\^"qqchunksize^\^"^ ^ 4000000^ ------WebKitFormBoundaryIMbkXAPvau1ArzUz^ Content-Disposition: form-data; name=^\^"qqtotalparts^\^"^ ^ 18^ ------WebKitFormBoundaryIMbkXAPvau1ArzUz^ Content-Disposition: form-data; name=^\^"qqtotalfilesize^\^"^ ^ 70504094^ ------WebKitFormBoundaryIMbkXAPvau1ArzUz^ Content-Disposition: form-data; name=^\^"qqfilename^\^"^ ^ ^מ^פ^ע^ל ^ה^פ^ו^ר^מ^ט^י^ם ^מ^מ^ז^ג ^א^ו^ד^י^ו ^ה^ק^ל^ט^ה ^א^ר^ו^כ^ה+^ה^ק^ל^ט^ה ^א^ר^ו^כ^ה+^ש^מ^ח^ת ^ח^ג+^ש^ח^ר ^ק^מ^ת^י.wav^ ------WebKitFormBoundaryIMbkXAPvau1ArzUz^ Content-Disposition: form-data; name=^\^"qquuid^\^"^ ^ 908c3432-3081-45ee-b778-91e1248902f4^ ------WebKitFormBoundaryIMbkXAPvau1ArzUz^ Content-Disposition: form-data; name=^\^"qqfile^\^"; filename=^\^"blob^\^"^ Content-Type: application/octet-stream^ ^ RIFF^^Î3^WAVEfmt ^^
מעניין שבתגובה התקינה, הערך שחוזר בשגיאה כnull, חוזר כnull גם כן.. (ייתכן שאין קשר, והשגיאה בכלל לא קשורה לערך הזה..)
{ "success": true, "uuid": "908c3432-3081-45ee-b778-91e1248902f4", "uploadName": null }