LabVIEW Cloud Toolkits


File corruption by 'Trim whitespace' while uploading to S3 bucket

I am using toolkit example,'Upload File to'. When I uploaded TDMS file to AWS s3 buckets, the file size was reduced. The problem is caused by 'Trim' 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, 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?








0 Kudos
Message 1 of 2

RE: File corruption by 'Trim whitespace' while uploading to S3 bucket

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.

0 Kudos
Message 2 of 2
This is an open group. Sign in and click the "Join Group" button to become a group member and start posting.