# I cannot access the file on the server through my application

**URL:** <https://forum.infinityfree.com/t/i-cannot-access-the-file-on-the-server-through-my-application/103224>\
**Category:** Hosting Support\
**Created:** [December 18, 2024, 2:51pm UTC](https://forum.infinityfree.com/t/i-cannot-access-the-file-on-the-server-through-my-application/103224 "2024-12-18T14:51:52Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![anon98044584](https://forum.infinityfree.com/letter_avatar/anon98044584/32/6_22734026db12803ebb3e059622ac3534.png) [@anon98044584](https://forum.infinityfree.com/u/anon98044584)\
**Post date:** [December 18, 2024, 2:51pm UTC](https://forum.infinityfree.com/t/i-cannot-access-the-file-on-the-server-through-my-application/103224/1 "2024-12-18T14:51:52Z")

</div>

[https://zimmetgo.infinityfreeapp.com/app/version.php](https://zimmetgo.infinityfreeapp.com/app/version.php)  
I want to pull the version data from this file in my website with the application I wrote with C#, no matter which method I try, the value comes as null.I think there is something like a protection on the server that makes it impossible to pull data from a different location please help

---

<div class="post-metadata">

**Author:** ![wasik405](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/wasik405/32/55080_2.png) [@wasik405](https://forum.infinityfree.com/u/wasik405)\
**Post date:** [December 18, 2024, 2:58pm UTC](https://forum.infinityfree.com/t/i-cannot-access-the-file-on-the-server-through-my-application/103224/2 "2024-12-18T14:58:33Z")

</div>

Yes, there is a system preventing it.  
Read this documentation:

> [@Ensuring only web browsers can access your website](https://forum.infinityfree.com/t/ensuring-only-web-browsers-can-access-your-website/49353/1):
>
> InfinityFree is a website hosting service. That means that the hosting accounts we provided are intended for hosting websites. Websites contain pages that are accessed through web browsers. InfinityFree is not intended to be used for file sharing, API hosting, database hosting or background tasks/tools…

---

<div class="post-metadata">

**Author:** ![anon98044584](https://forum.infinityfree.com/letter_avatar/anon98044584/32/6_22734026db12803ebb3e059622ac3534.png) [@anon98044584](https://forum.infinityfree.com/u/anon98044584)\
**Post date:** [December 19, 2024, 10:43am UTC](https://forum.infinityfree.com/t/i-cannot-access-the-file-on-the-server-through-my-application/103224/3 "2024-12-19T10:43:42Z")

</div>

This is ridiculous, I have to buy premium. I just wanted to get the version information of my application from the site. Only 5 letters.

---

<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:** [December 19, 2024, 3:51pm UTC](https://forum.infinityfree.com/t/i-cannot-access-the-file-on-the-server-through-my-application/103224/4 "2024-12-19T15:51:29Z")

</div>

Our browser validation system blocks all script access. It doesn’t distinguish based on how many characters the response payload it.

This is just how free hosting works. It doesn’t mean you’re forced to pay for premium hosting, it just means that your version check can’t work exactly like you wanted it to here.

If all you need to do is return a version number, perhaps you can work around this by pushing the current version number from your website to another service where your C# application can pull from? You wouldn’t even need a full web hosting service for this, all you would need is to be able to read and write a single line of text from somewhere.

---

<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:** [December 26, 2024, 3:52pm UTC](https://forum.infinityfree.com/t/i-cannot-access-the-file-on-the-server-through-my-application/103224/5 "2024-12-26T15:52:28Z")

</div>

Closed on December 26, 2024, 3:52pm UTC

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