I found a lot of answers for the "the uploaded file could not be moved to" error when it happens with all files but none when it happens to some files.
I use the Custom Upload Dir to organise uploads by post type and categories.
Let's imagine I have two files : one small and one big (120Mb). Im not sure it's a matter of size but it's my feeling.
My size limit in php is 512Mb.
I attach the small to a custom type post, it works well.
I attach the big file to the same post, it doesnt work.
I attach the big file to the media librabry directly (not via post), it works.
I uploaded successfully many files before and I cant figure out what's the issue.
Any chance to get a more explicit error message using some debug settings ?
Thanks for the help.