Page 1 of 1

Empty Uploads Fail Without Error

Posted: April 21st, 2022, 1:52 pm
by JefferyD
When testing file uploads, I created an empty TXT file as a test file. When uploading it, the control shows that the file was added successfully, but when trying to find it at the expected destination, it was missing. Once content was added to the file using Notepad however, it started working as expected.

Is there a reason why an empty TXT file fails to upload? When uploads fail for any reason, is there a way to determine that a failure occurred or what may have caused the failure?

Re: Empty Uploads Fail Without Error

Posted: April 22nd, 2022, 9:44 am
by SteveCap
I have created task #10371

Re: Empty Uploads Fail Without Error

Posted: May 4th, 2022, 3:12 pm
by JustinVanRegenmorter
This issue has been resolved as of RunTime Revision 962.

Re: Empty Uploads Fail Without Error

Posted: May 4th, 2022, 3:12 pm
by JustinVanRegenmorter
The reason the file was failing to upload was because of a check for content length before upgrading instead of checking to make sure the file is not null.