# Vendor Configuration File download from provision problem

**URL:** <https://forum.genieacs.com/t/vendor-configuration-file-download-from-provision-problem/6116>\
**Category:** Uncategorized\
**Created:** [November 2, 2024, 10:48pm UTC](https://forum.genieacs.com/t/vendor-configuration-file-download-from-provision-problem/6116 "2024-11-02T22:48:38Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![nicklayk](https://avatars.discourse-cdn.com/v4/letter/n/cdc98d/32.png) [@nicklayk](https://forum.genieacs.com/u/nicklayk)\
**Post date:** [November 2, 2024, 10:48pm UTC](https://forum.genieacs.com/t/vendor-configuration-file-download-from-provision-problem/6116/1 "2024-11-02T22:48:38Z")

</div>

Hi all.

I have a problem with upload file with provision script:

```auto
declare("Downloads.[FileType:3 Vendor Configuration File]", {path: 1}, {path: 1});
declare("Downloads.[FileType:3 Vendor Configuration File].FileName", {value: 1}, {value: "backup_VLAN_922_HW_k33_SN_163432241774517.tar.gz"});
declare("Downloads.[FileType:3 Vendor Configuration File].Download", {value: 1}, {value: Date.now()});
declare("Tags.conf", null, {value: true});
declare("Tags.NoConf", null, {value: false});

```

Problem: always “Download failure” error.

Same file, if i upload via gui push button, works well, CPE get it and change config.

Ports opened.

Please help me.

---

<div class="post-metadata">

**Author:** ![nicklayk](https://avatars.discourse-cdn.com/v4/letter/n/cdc98d/32.png) [@nicklayk](https://forum.genieacs.com/u/nicklayk)\
**Post date:** [November 3, 2024, 5:52pm UTC](https://forum.genieacs.com/t/vendor-configuration-file-download-from-provision-problem/6116/2 "2024-11-03T17:52:48Z")

</div>

Problem was in my generate provision code, file name was wrong, sorry for that, please close the topic.

---

<div class="post-metadata">

**Author:** ![serzh2330](https://avatars.discourse-cdn.com/v4/letter/s/7ba0ec/32.png) [@serzh2330](https://forum.genieacs.com/u/serzh2330)\
**Post date:** [February 18, 2025, 5:24pm UTC](https://forum.genieacs.com/t/vendor-configuration-file-download-from-provision-problem/6116/3 "2025-02-18T17:24:10Z")

</div>

> [@nicklayk](#):
>
> ```auto
> declare("Downloads.[FileType:3 Vendor Configuration File]", {path: 1}, {path: 1});
> declare("Downloads.[FileType:3 Vendor Configuration File].FileName", {value: 1}, {value: "backup_VLAN_922_HW_k33_SN_163432241774517.tar.gz"});
> declare("Downloads.[FileType:3 Vendor Configuration File].Download", {value: 1}, {value: Date.now()});
> declare("Tags.conf", null, {value: true});
> declare("Tags.NoConf", null, {value: false});
> 
> ```

Can I have more details, please? I’m also trying to set it up, but so far it’s not working.

---

<div class="post-metadata">

**Author:** ![akcoder](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.genieacs.com/akcoder/32/11_2.png) [@akcoder](https://forum.genieacs.com/u/akcoder)\
**Post date:** [February 18, 2025, 6:55pm UTC](https://forum.genieacs.com/t/vendor-configuration-file-download-from-provision-problem/6116/4 "2025-02-18T18:55:03Z")

</div>

Can you be less descriptive about whats not working?

---

<div class="post-metadata">

**Author:** ![serzh2330](https://avatars.discourse-cdn.com/v4/letter/s/7ba0ec/32.png) [@serzh2330](https://forum.genieacs.com/u/serzh2330)\
**Post date:** [February 19, 2025, 6:19am UTC](https://forum.genieacs.com/t/vendor-configuration-file-download-from-provision-problem/6116/5 "2025-02-19T06:19:31Z")

</div>

I’m afraid I was too hasty and got the wrong topic. I need to download a configuration file from an IP phone.
