Closed haydonryan closed 4 years ago
Downloading a zero length file seems like an incorrect behavior. Thanks for bringing this up. We have created a story to look into this.
Thanks Ivan
@haydonryan Hey! Changes were made to ensure the zero length file does not exist after the cli fails to download. This includes the error that results from a EULA that has not previously been accepted.
Hi there, Currently, if I run
pivnet download-product-files ...
and I haven't accepted the EULA for this release, the pivnet cli creates this file but leaves it as zero length.For scripting, it would be better for this file not to be created instead of exist but be invalid. (so we can do an if it exists skip the download step).
Thanks in advance.