# Read image from server

**URL:** <https://scilab.discourse.group/t/read-image-from-server/1163>\
**Category:** General usage\
**Created:** [May 30, 2026, 6:09pm UTC](https://scilab.discourse.group/t/read-image-from-server/1163 "2026-05-30T18:09:29Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![philipp](https://yyz2.discourse-cdn.com/free1/user_avatar/scilab.discourse.group/philipp/32/53_2.png) [@philipp](https://scilab.discourse.group/u/philipp)\
**Post date:** [May 30, 2026, 6:09pm UTC](https://scilab.discourse.group/t/read-image-from-server/1163/1 "2026-05-30T18:09:29Z")

</div>

Dear,

suppose there is a https-server fom which I want to get an image from.

The link would be similar to:

> [https://myserver.de/subfolder/subfolder/time.jpg](https://myserver.de/subfolder/subfolder/time.jpg)

In “C” I can use `URLDownloadToFileA()`from `urlmon.h` to download the image and save it as a local file.

In Scilab I tried to get the url content with `http_getURL`.

However I get rubbish…most likely because the server uses https (?).

The various `imread()` variants seem to not support loading an image from an URL.

Am I mistaken or missing something?

Best regards,

Philipp

---

<div class="post-metadata">

**Author:** ![mottelet](https://yyz2.discourse-cdn.com/free1/user_avatar/scilab.discourse.group/mottelet/32/13_2.png) [@mottelet](https://scilab.discourse.group/u/mottelet)\
**Post date:** [June 1, 2026, 6:13am UTC](https://scilab.discourse.group/t/read-image-from-server/1163/2 "2026-06-01T06:13:42Z")

</div>

Hello Philipp,

In Scilab there is no `http_getURL` but rather `http_get`. Sometimes you can get rubbish because there may be redirections, hence for your URL I would try:

```auto
http_get("https://myserver.de/subfolder/subfolder/time.jpg","time.jpg",follow=%t);

```

S.

---

<div class="post-metadata">

**Author:** ![philipp](https://yyz2.discourse-cdn.com/free1/user_avatar/scilab.discourse.group/philipp/32/53_2.png) [@philipp](https://scilab.discourse.group/u/philipp)\
**Post date:** [June 1, 2026, 10:03am UTC](https://scilab.discourse.group/t/read-image-from-server/1163/3 "2026-06-01T10:03:51Z")

</div>

Hello Stéphane,

indeed …`http_get`, please excuse the confusion.

Your suggestion just works fine.

Thank you,

Philipp

---

<div class="post-metadata">

**Author:** ![kostani](https://avatars.discourse-cdn.com/v4/letter/k/85f322/32.png) [@kostani](https://scilab.discourse.group/u/kostani)\
**Post date:** [June 9, 2026, 11:03am UTC](https://scilab.discourse.group/t/read-image-from-server/1163/4 "2026-06-09T11:03:54Z")

</div>

I want to list of the invalid files attachment

---

<div class="post-metadata">

**Author:** ![mottelet](https://yyz2.discourse-cdn.com/free1/user_avatar/scilab.discourse.group/mottelet/32/13_2.png) [@mottelet](https://scilab.discourse.group/u/mottelet)\
**Post date:** [June 9, 2026, 10:13pm UTC](https://scilab.discourse.group/t/read-image-from-server/1163/5 "2026-06-09T22:13:28Z")

</div>

Hello,

Please start a new topic and be more explicit about your request.

S.
