<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic ImportVapp upload floppy file：File exists, but overwrite was not requested in vSphere SDK for Java Discussions</title>
    <link>https://communities.vmware.com/t5/vSphere-SDK-for-Java-Discussions/ImportVapp-upload-floppy-file-File-exists-but-overwrite-was-not/m-p/2826261#M706</link>
    <description>&lt;P&gt;I'm trying to import an ovf template to a vsan storage，the ovf contains a vmdk disk file and a floppy file.&lt;/P&gt;&lt;P data-unlink="true"&gt;Using the returned device url from httpNfcLease, such as https://*/nfc/529fd5cb-757a-1f48-9704-fe503fc23531/disk-0.vmdk, &amp;nbsp;&lt;/P&gt;&lt;P&gt;I&amp;nbsp;used https post to upolad vmdk file successfully.&lt;/P&gt;&lt;P data-unlink="true"&gt;But when I&amp;nbsp;&amp;nbsp;trying to use https put&amp;nbsp; upload the floppy file, exeception occurs. The floppy device url is&amp;nbsp;https://*/nfc/529fd5cb-757a-1f48-9704-fe503fc23531/disk-1.flp&amp;nbsp;.&lt;/P&gt;&lt;P data-unlink="true"&gt;The reason for the error is 'File exists, but overwrite was not requested'.&amp;nbsp;Indeed,The default floppy file _deviceImage-0.flp is generated on the virtual machine's storage path.&lt;/P&gt;&lt;P data-unlink="true"&gt;When I deleted the floppy file, the upload was successful.&lt;/P&gt;&lt;P data-unlink="true"&gt;But How can I automatically overwrite the original file when I upload it?&lt;/P&gt;&lt;P data-unlink="true"&gt;Is there any http header that will meet my needs?&lt;/P&gt;&lt;P data-unlink="true"&gt;&lt;SPAN&gt;any help would be much appreciated&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 29 Jan 2021 09:00:38 GMT</pubDate>
    <dc:creator>yaoyao2020</dc:creator>
    <dc:date>2021-01-29T09:00:38Z</dc:date>
    <item>
      <title>ImportVapp upload floppy file：File exists, but overwrite was not requested</title>
      <link>https://communities.vmware.com/t5/vSphere-SDK-for-Java-Discussions/ImportVapp-upload-floppy-file-File-exists-but-overwrite-was-not/m-p/2826261#M706</link>
      <description>&lt;P&gt;I'm trying to import an ovf template to a vsan storage，the ovf contains a vmdk disk file and a floppy file.&lt;/P&gt;&lt;P data-unlink="true"&gt;Using the returned device url from httpNfcLease, such as https://*/nfc/529fd5cb-757a-1f48-9704-fe503fc23531/disk-0.vmdk, &amp;nbsp;&lt;/P&gt;&lt;P&gt;I&amp;nbsp;used https post to upolad vmdk file successfully.&lt;/P&gt;&lt;P data-unlink="true"&gt;But when I&amp;nbsp;&amp;nbsp;trying to use https put&amp;nbsp; upload the floppy file, exeception occurs. The floppy device url is&amp;nbsp;https://*/nfc/529fd5cb-757a-1f48-9704-fe503fc23531/disk-1.flp&amp;nbsp;.&lt;/P&gt;&lt;P data-unlink="true"&gt;The reason for the error is 'File exists, but overwrite was not requested'.&amp;nbsp;Indeed,The default floppy file _deviceImage-0.flp is generated on the virtual machine's storage path.&lt;/P&gt;&lt;P data-unlink="true"&gt;When I deleted the floppy file, the upload was successful.&lt;/P&gt;&lt;P data-unlink="true"&gt;But How can I automatically overwrite the original file when I upload it?&lt;/P&gt;&lt;P data-unlink="true"&gt;Is there any http header that will meet my needs?&lt;/P&gt;&lt;P data-unlink="true"&gt;&lt;SPAN&gt;any help would be much appreciated&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jan 2021 09:00:38 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/vSphere-SDK-for-Java-Discussions/ImportVapp-upload-floppy-file-File-exists-but-overwrite-was-not/m-p/2826261#M706</guid>
      <dc:creator>yaoyao2020</dc:creator>
      <dc:date>2021-01-29T09:00:38Z</dc:date>
    </item>
  </channel>
</rss>

