Skip to content

Conversation

@tsuzukit
Copy link

@tsuzukit tsuzukit commented Mar 7, 2016

For some occasion, I have seen $file->validateFile() passes at second last request of POST.
I think it would be good to check explicitly if current chunk number is the last one.

@AidasK
Copy link
Member

AidasK commented Mar 7, 2016

Chunks can be uploaded in random sequence, because of this we should check existence of all chunks.

@AidasK AidasK closed this Mar 7, 2016
@tsuzukit
Copy link
Author

tsuzukit commented Mar 7, 2016

Ah ok, thank you.

I have experienced $file->save() is called twice and file is corrupted when that happen. (I followed Advanced Usage in REAME.md)

I guess my implementation may not be good, so I will investigate more.
Anyways, thank you for the great library.

@AidasK
Copy link
Member

AidasK commented Mar 7, 2016

Are you running in windows env?

@tsuzukit
Copy link
Author

tsuzukit commented Mar 7, 2016

Curerntly I use Centos6.5 on vagrant

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants