# Error when upload woff2 file

**URL:** <https://forum.infinityfree.com/t/error-when-upload-woff2-file/91861>\
**Category:** Hosting Support\
**Created:** [April 2, 2024, 1:01pm UTC](https://forum.infinityfree.com/t/error-when-upload-woff2-file/91861 "2024-04-02T13:01:42Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![anon7744180](https://forum.infinityfree.com/letter_avatar/anon7744180/32/6_449c533f586939b6e5f246632a46421f.png) [@anon7744180](https://forum.infinityfree.com/u/anon7744180)\
**Post date:** [April 2, 2024, 1:01pm UTC](https://forum.infinityfree.com/t/error-when-upload-woff2-file/91861/1 "2024-04-02T13:01:43Z")

</div>

[https://r18.rf.gd/](https://r18.rf.gd/)

[https://r18.rf.gd/build/assets/exo-2-latin-wght-normal-DllOx71z\_Fht13W9.woff2](https://r18.rf.gd/build/assets/exo-2-latin-wght-normal-DllOx71z_Fht13W9.woff2) net::ERR\_ABORTED 404 (Not Found)

![image](https://forum-cdn.infinityfree.net/original/3X/a/d/ada2793d0bc540fb1356882448ac4973c7f6de4f.png)

This woff2 is created using Laravel Vite bundle Font

When I’m uploading Web font using FTP, it will deleted after that

---

<div class="post-metadata">

**Author:** ![KangJL](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/kangjl/32/12130_2.png) [@KangJL](https://forum.infinityfree.com/u/KangJL)\
**Post date:** [April 2, 2024, 1:24pm UTC](https://forum.infinityfree.com/t/error-when-upload-woff2-file/91861/2 "2024-04-02T13:24:26Z")

</div>

How big is the file?

> [@Why are my files deleted after uploading them](https://forum.infinityfree.com/docs?topic=49310):
>
> Sometimes, when you upload a file, the upload is completed but the file is deleted immediately afterwards. This is usually caused by one of the following issues: The file is not in a htdocs folder All websites files must be uploaded to either the main htdocs folder, or to the domain specific htdocs folder (like example.com/htdocs). You cannot upload files to other directories on your account. If you try to create or upload files anywhere else, they will be deleted automatically. The file type…

---

<div class="post-metadata">

**Author:** ![anon7744180](https://forum.infinityfree.com/letter_avatar/anon7744180/32/6_449c533f586939b6e5f246632a46421f.png) [@anon7744180](https://forum.infinityfree.com/u/anon7744180)\
**Post date:** [April 2, 2024, 2:43pm UTC](https://forum.infinityfree.com/t/error-when-upload-woff2-file/91861/3 "2024-04-02T14:43:05Z")

</div>

it just a font file, only 60KB, and it was uploaded properly, i’m using Laravel framework and it directory is: /htdocs/publics/build/assets/file name.woff2

---

<div class="post-metadata">

**Author:** ![Oxy](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/oxy/32/37989_2.png) [@Oxy](https://forum.infinityfree.com/u/Oxy)\
**Post date:** [April 2, 2024, 2:47pm UTC](https://forum.infinityfree.com/t/error-when-upload-woff2-file/91861/4 "2024-04-02T14:47:42Z")

</div>

I downloaded exo-2 fonts and none of them exceed 200KB  
also in your CSS files I don’t see any mention of that font or the extension .woff2

As a last resort, you can use an external link for font and CSS

> **[Exo 2 Font Family Download for Desktop & WebFont | CDNFonts.com](https://www.cdnfonts.com/exo-2.font)**
>
> Download Exo 2 font from free CDN or use it on your website as webfont.

---

<div class="post-metadata">

**Author:** ![anon7744180](https://forum.infinityfree.com/letter_avatar/anon7744180/32/6_449c533f586939b6e5f246632a46421f.png) [@anon7744180](https://forum.infinityfree.com/u/anon7744180)\
**Post date:** [April 2, 2024, 3:01pm UTC](https://forum.infinityfree.com/t/error-when-upload-woff2-file/91861/5 "2024-04-02T15:01:53Z")

</div>

> [@anon7744180](#):
>
> When I’m uploading Web font using FTP, it will deleted after that

The problem is the file is deleted after uploaded. Is hosting provider not support WOFF2 anymore ?

---

<div class="post-metadata">

**Author:** ![Admin](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/admin/32/36437_2.png) [@Admin](https://forum.infinityfree.com/u/Admin)\
**Post date:** [April 3, 2024, 10:31am UTC](https://forum.infinityfree.com/t/error-when-upload-woff2-file/91861/6 "2024-04-03T10:31:00Z")

</div>

Hmm, odd. If you give the file a `.woff` extension, it just works. But if you give it a `.woff2` extension it doesn’t.

I have discussed the issue with iFastNet and agree that this is not how it’s supposed to work. So the .woff2 extension has been removed from the blacklists and can be uploaded now.

Please note that it may take up to an hour for the change to be applied to all servers.

---

<div class="post-metadata">

**Author:** ![system](https://infinityfree-forum-uploads.s3.dualstack.eu-central-1.amazonaws.com/original/3X/b/0/b024fd3fa88bae093c9576e55c2c94e33f890206.svg) [@system](https://forum.infinityfree.com/u/system)\
**Post date:** [April 10, 2024, 10:31am UTC](https://forum.infinityfree.com/t/error-when-upload-woff2-file/91861/7 "2024-04-10T10:31:04Z")

</div>

Closed on April 10, 2024, 10:31am UTC

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
