When the user attempts to upload a file, there are a few verifications performed to validate that the file should be incorporated into the list of downloadable files; however, there was no check for an empty file if the received file happened to have a 0 size. This could be because of some issue such as running out of storage space on the destination computer, that the sent file was corrupt or empty, or some other event that could result in a filename but no size to the file.
When the user attempts to upload a file, there are a few verifications performed to validate that the file should be incorporated into the list of downloadable files; however, there was no check for an empty file if the received file happened to have a 0 size. This could be because of some issue such as running out of storage space on the destination computer, that the sent file was corrupt or empty, or some other event that could result in a filename but no size to the file.