Samba + switch firmware update

I want to update the firmware on my HP Procurve 1810 switch using samba.

I have downloaded the firmware updates and can access the switch-management-SW via firefox using URL 192.168.2.10.

I have setup samba, my smb.conf file


[global]
    server string = File Server
    workgroup = HP_Procurve
    security = user
    map to guest = Bad User
    name resolve order = bcast host
    include = /etc/samba/shares.conf

my shares.conf file


[Public Files]
    path = /share/public_files
    force user = smbuser
    force group = smbgroup
    create mask = 0664
    force create mode = 0664
    directory mask = 0775
    force directory mode = 0775
    public = yes
    writable = yes
[Protected Files]
    path = /share/private_files
    force user = smbuser
    force group = smbgroup
    create mask = 0664
    force create mode = 0664
    directory mask = 0775
    force directory mode = 0775
    public = yes
    writable = no    
[Anonymous]
    path = /share/anonymous
    browsable = yes
    writable = yes
    read only = no
    force user = nobody

I restart samba

The firmware file P.1.6.stk is in /share, /share/private_files, /share/public_files, and in /share/anonymous.

Next, from the switch-management firmware-update menu, I select:


Update_Method=TFTP
Server_IP=192.168.2.12 ( a static address IPv4)
File_Name=P.1.6.stk
Update_Type=code
Image=backup

The download fails.

I’m totally new to samba.

Q1) Can this approach work?

Q2) What have I left out?

Thank you.

What makes you think SAMBA has anything to do with TFTP? Install package tftp to get tftp server.

I note that you have selected TFTP…so samba is not going to work here. Instead set up a TFTP server.

This will outline what is needed…
https://www.hiroom2.com/2018/06/16/opensuse-15-tftp-en/