07-29-2020 09:26 PM
I am using toolkit example,'Upload File to Bucket.vi'. When I uploaded TDMS file to AWS s3 buckets, the file size was reduced. The problem is caused by 'Trim Whitespace.vi' in internal API.
We can reproduce this problem with a simple example I attached. When we upload txt. file generated from attached vi(Write test txt.vi), The size of the file is reduced from 600 KB to1Byte. Because space constant has been deleted.
The biggest problem is that sometimes the uploaded TDMS doesn't open when downloaded again. It's not always like that, but the white space of the file divided into Chunk units disappears, so the file seems to be completely destroyed. Has anyone experienced the same problem? Do you know how to solve it?
07-29-2020 09:39 PM
In the manual related to AWS S3, 'Trim' function that functions the same was found. However, it has not yet been found how this function is related to LabVIEW Toolkit.
06-16-2021 04:01 AM - edited 06-16-2021 04:14 AM
I came across this a similar bug while writing an API for S3 Glacier. I got timeout 56 when uploading TDMS parts that started or ended with whitespace because the request body was incomplete.
The request body should not be trimmed in Make HTTP Request v4.vi. Is there a reason for Trim Whitespace to be there in the first place?