Htpclient GET file download

Website URL

http://democompany.rf.gd/

Other Information

Dear sirs,

I develop IOT applications. I need to download files with some some devices (not PC) using the httpclient GET instruction, which I have succesfully used with other hosting.

What I observe with infinityfree

  1. the getsize() method returns meaningless values for the file size (usually 854; the real value can be anything).

  2. Downloading stops after few bytes.

As I mentioned, with other hostings I encounter no such problems: I get the right size and download the file correctly.

Best regards

Please note that we provide a website hosting service. That means our hosting is intended to produce web pages that are viewed in browsers.

This is part of the reason why we have a security system that tests whether every visitor supports Javascript and cookies. Visitors that don’t won’t be able to access your site:

This means that our hosting is not intended for things like:

  • API hosting.
  • Large scale data collection and analysis from endpoints.
  • File hosting and distribution.

For all of these things, more suitable or even specialized hosting services are available from other companies.

Most likely, the 854 bytes you get are the result of the security challenge, not the actual file that’s supposed to be available on that URL.

8 Likes

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