# How to create a customised URL for a file selected from Input type="file"?

**URL:** <https://community.khronos.org/t/how-to-create-a-customised-url-for-a-file-selected-from-input-type-file/107398>\
**Category:** WebGL\
**Created:** [June 8, 2021, 8:15am UTC](https://community.khronos.org/t/how-to-create-a-customised-url-for-a-file-selected-from-input-type-file/107398 "2021-06-08T08:15:02Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sahana](https://community.khronos.org/letter_avatar_proxy/v4/letter/s/5fc32e/32.png) [@Sahana](https://community.khronos.org/u/Sahana)\
**Post date:** [June 8, 2021, 8:15am UTC](https://community.khronos.org/t/how-to-create-a-customised-url-for-a-file-selected-from-input-type-file/107398/1 "2021-06-08T08:15:02Z")

</div>

Update 

Here when file is selected from input type=“file” i want to create a URL similar like(http://\<server\_host\_ip\>:\<server\_port\>/\<image\_name.bin\>)

---

<div class="post-metadata">

**Author:** ![Midnightas](https://community.khronos.org/user_avatar/community.khronos.org/midnightas/32/2345_2.png) [@Midnightas](https://community.khronos.org/u/Midnightas)\
**Post date:** [June 8, 2021, 8:37am UTC](https://community.khronos.org/t/how-to-create-a-customised-url-for-a-file-selected-from-input-type-file/107398/2 "2021-06-08T08:37:25Z")

</div>

This has nothing to do with WebGL.
