If my understanding is correct, the Backblaze LargeFileLimit is usually recommended to be 5GB, the recommededPartSize is suggested to be 100MB. Using the logic below to decide between uploadStandardFile and uploadLargeFile it appears that any file over 100MB will use the uploadLargeFile option. Whereas if my understanding of the Backblaze b2 API is correct only files above 5GB should use the large File methodology.
if ($options['size'] <= $this->largeFileLimit && $options['size'] <= $this->recommendedPartSize) {
return $this->uploadStandardFile($options);
} else {
return $this->uploadLargeFile($options);
}
I believe my logic is correct but I am still learning both PHP and the Backblaze API.
Thanks
If my understanding is correct, the Backblaze LargeFileLimit is usually recommended to be 5GB, the recommededPartSize is suggested to be 100MB. Using the logic below to decide between uploadStandardFile and uploadLargeFile it appears that any file over 100MB will use the uploadLargeFile option. Whereas if my understanding of the Backblaze b2 API is correct only files above 5GB should use the large File methodology.
I believe my logic is correct but I am still learning both PHP and the Backblaze API.
Thanks