# Send URL for update firmware

**URL:** <https://forum.genieacs.com/t/send-url-for-update-firmware/323>\
**Category:** Uncategorized\
**Created:** [October 1, 2019, 10:39am UTC](https://forum.genieacs.com/t/send-url-for-update-firmware/323 "2019-10-01T10:39:05Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![tonic12](https://avatars.discourse-cdn.com/v4/letter/t/90ced4/32.png) [@tonic12](https://forum.genieacs.com/u/tonic12)\
**Post date:** [October 1, 2019, 10:39am UTC](https://forum.genieacs.com/t/send-url-for-update-firmware/323/1 "2019-10-01T10:39:05Z")

</div>

Somebody knows how I can send download url to cpe? By defaults uses acs server address, but in our network has special firmware server and I want use my server for update firmware. Any ideas?

PS I was add url option in task, but it’s not work.

---

<div class="post-metadata">

**Author:** ![gittela](https://avatars.discourse-cdn.com/v4/letter/g/e36b37/32.png) [@gittela](https://forum.genieacs.com/u/gittela)\
**Post date:** [October 4, 2019, 7:56am UTC](https://forum.genieacs.com/t/send-url-for-update-firmware/323/2 "2019-10-04T07:56:43Z")

</div>

How are you trying to do this? With a preset or a provision?

---

<div class="post-metadata">

**Author:** ![tonic12](https://avatars.discourse-cdn.com/v4/letter/t/90ced4/32.png) [@tonic12](https://forum.genieacs.com/u/tonic12)\
**Post date:** [October 4, 2019, 1:12pm UTC](https://forum.genieacs.com/t/send-url-for-update-firmware/323/3 "2019-10-04T13:12:52Z")

</div>

I send task via NBI:  
url: [http://192.168.0.100:7557/devices/1062EB-Router-QXDP1GB411768/tasks?timeout=3000&connection\_request](http://192.168.0.100:7557/devices/1062EB-Router-QXDP1GB411768/tasks?timeout=3000&connection_request)  
data: {“name”: “download”, “fileName”: “2017.04.19-11.58\_DIR\_815AC\_3.0.0\_release.bin”, “fileType”: “1 Firmware Upgrade Image”, “url”: “http:///192.168.0.250/dir815ac/3.0.0/”}

I think, it’s provision… right?

But it’s no matter. In source `types.ts` interface Task has no url param, it’s mean url was lost after read from mongoDB and convert to task.

I not found way, how add url in `downloadRequest` of function sendAcsRequest. I create a bodge: get url from tasks in SessionContext, but it’s bad idea, if you have many tasks for one time.
