Getting the size of a file via API
Posted: Thu Aug 29, 2019 11:48 am America/New_York
Is there any way to determine the byte size of a file on your data server using the file_search, getfile or other cgi tools?
We have cases where we want to ignore files below a certain size. It would also be nice to compare the remote and local file sizes to verify that the file wasn't truncated. The only way I've been able to figure out how to get the size is to download the file and then check the size of what you fetched (which is rather a waste of time and bandwidth)
Thank you,
-Andrew L.
We have cases where we want to ignore files below a certain size. It would also be nice to compare the remote and local file sizes to verify that the file wasn't truncated. The only way I've been able to figure out how to get the size is to download the file and then check the size of what you fetched (which is rather a waste of time and bandwidth)
Thank you,
-Andrew L.