Solution
This issue is a known bug in LabVIEW 2021, all file uploads larger than 32 kB are truncated at slightly under 32 kB. An error is returned on the client, but the truncated file persists on the server. This bug was fixed in LabVIEW 2022 Q3. If you are using LabVIEW 2021, the workaround is to set a block size of 16 kB (16 384 bytes) using a property node as shown in the image below:
Please note that the remote path input needs to be a file path (not just a folder path).