You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 27, 2023. It is now read-only.
Sorry for my bad english i have an issue with the upload widget, i can´t make it work with chuncked files in Yii2, if anybody of you can point me in the right direction i'll appriciate it.
Hi amigos,
Sorry for my bad english i have an issue with the upload widget, i can´t make it work with chuncked files in Yii2, if anybody of you can point me in the right direction i'll appriciate it.
This is my code so far:
<?= FileUploadUI::widget([ 'model' => $formModel, 'attribute' => 'archivo', 'url' => ['prueba-carga/trozos'], // your url, this is just for demo purposes, 'fieldOptions' => [ 'accept' => '.pdf' ], 'clientOptions' => [ 'maxChunkSize' => 2000000, //2 mb 'maxFileSize' => 100000000 //100 mb ], // Also, you can specify jQuery-File-Upload events // see: https://github.com/blueimp/jQuery-File-Upload/wiki/Options#processing-callback-options 'clientEvents' => [ 'fileuploaddone' => 'function(e, data) { console.log(e); console.log(data); }', 'fileuploadfail' => 'function(e, data) { console.log(e); console.log(data); }', ], ]); ?>
and in the model:
`public function actionTrozos()
{
But the file is corrupted.
The text was updated successfully, but these errors were encountered: