I’m using standard WordPress function to upload files: wp_insert_attachment and wp_update_attachment_metadata.
They either go into wp-content/uploads/video_image/ or wp-content/uploads/user_profile_image/ which shouldn’t matter because the path is set to wp-content/uploads/
Any idea?