If there is a task to upload the virtual machine in OVF or OVA format and access is performed with the help of VMware vSphere client - it is necessary to select the uploaded virtual machine and select "Export OVF Template" in the menu "File", "Export":
If the web-interface is used, select the virtual machine to be uploaded, right click and select "Export OVF Template" in the "Template" menu: