laravel-chunk-upload icon indicating copy to clipboard operation
laravel-chunk-upload copied to clipboard

Corrupted path detected

Open vuehoucine opened this issue 2 years ago • 4 comments

Hi

There is a problem when you run the artisan command uploads: clear

It says this file :

am​m.mp3-Wbp6ikr2grR4DrFUiF3yDDgfZUjlOqlIMU5Vco4R-7444ea8d-9ec0-4328-816c-299f441028d4.1.part

Is corrupted

When cron finds that problem its stops without deleting the other chunks

vuehoucine avatar Nov 30 '22 17:11 vuehoucine

??

vuehoucine avatar Dec 04 '22 21:12 vuehoucine

At this moment i dont have the time to handle this.

Feel free to make a PR - wrap part of the logic (that proces each file) with try/catch

pionl avatar Dec 05 '22 11:12 pionl

Any Updates regarding this ? :slightly_smiling_face:

Janith-Umeda avatar Jun 06 '24 09:06 Janith-Umeda

I can verify this issue. I've observed users uploading files with unicode emoji's in the filenames, this causes the corrupted path error. I only realised this happened and the files weren't being cleared when the server stopped responding due to a full disk.

SDGPeteBatin avatar Jul 23 '24 11:07 SDGPeteBatin