# hs cli won't upload webp files

**URL:** <https://community.hubspot.com/t/hs-cli-wont-upload-webp-files/72464>\
**Category:** CMS Development\
**Created:** [January 9, 2023, 1:55pm UTC](https://community.hubspot.com/t/hs-cli-wont-upload-webp-files/72464 "2023-01-09T13:55:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![xyboox](https://avatars.discourse-cdn.com/v4/letter/x/a6a055/32.png) [@xyboox](https://community.hubspot.com/u/xyboox)\
**Post date:** [January 9, 2023, 1:55pm UTC](https://community.hubspot.com/t/hs-cli-wont-upload-webp-files/72464/1 "2023-01-09T13:55:45Z")

</div>

Hi, sorry if this was discussed someplace else ( I couldn’t find ant reference ).

So I have this issue that while trying to use hs cli to upload a bunch of webp images, the cli is returning an error:

`The path “./path/to/webp/file.webp” is not a path to a file or folder`

The path is 100% checked and correct.

Any hints?  
Thanks you!

---

<div class="post-metadata">

**Author:** ![Jaycee\_Lewis](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jaycee_lewis/32/61352_2.png) [@Jaycee\_Lewis](https://community.hubspot.com/u/Jaycee_Lewis)\
**Post date:** [January 9, 2023, 10:22pm UTC](https://community.hubspot.com/t/hs-cli-wont-upload-webp-files/72464/2 "2023-01-09T22:22:18Z")

</div>

Hey, @xyboox 👋 Thanks for reaching out! You are not missing an option. HubSpot will automatically serve up files using WebP to supported browsers on your behalf, but it is not possible to upload WebP files directly. I found this adjacent Idea thread, asking for more WebP support, and noticed it is listed as in-planning — [Automatic Resizing for .webp Images](https://community.hubspot.com/t5/HubSpot-Ideas/Automatic-Resizing-for-webp-Images/idc-p/356504?profile.language=en). But I do not have a public document or roadmap on addition functionality being added for uploading WebP files specifically.

Best,

Jaycee

---

<div class="post-metadata">

**Author:** ![xyboox](https://avatars.discourse-cdn.com/v4/letter/x/a6a055/32.png) [@xyboox](https://community.hubspot.com/u/xyboox)\
**Post date:** [January 10, 2023, 8:34am UTC](https://community.hubspot.com/t/hs-cli-wont-upload-webp-files/72464/3 "2023-01-10T08:34:05Z")

</div>

Thanks [@Jaycee\_Lewis](https://community.hubspot.com/t5/user/viewprofilepage/user-id/127074) ! I was confused because the knowledge base states webp file type is accepted and supported ( [https://knowledge.hubspot.com/files/supported-file-types](https://knowledge.hubspot.com/files/supported-file-types) ) so I assumed is the same while using cli.
