tried to test pushing dhcp lease files from mikrotik router to Openwrt DumbAP's.
it says success on mikrotik side but cannot find the file in Openwrt target location.
must be something basic i must be missing. thanks.
/tmp location
root@APNew:/tmp# ls
0.db luci-indexcache.something.json
TZ overlay
board.json resolv.conf
collectd.conf resolv.conf.d
dhcp.leases rrd
dnsmasq.d run
etc shm
hosts spool
lib state
lock sysinfo
log tmp
Openwrt syslog
**
Wed Oct 9 00:17:54 2024 authpriv.info dropbear[26294]: Child connection from 10.10.8.1:51388
Wed Oct 9 00:17:54 2024 authpriv.notice dropbear[26294]: Password auth succeeded for 'root' from 10.10.8.1:51388
Wed Oct 9 00:17:54 2024 authpriv.info dropbear[26294]: Exit (root) from <10.10.8.1:51388>: Exited normally
Mikrotik
[xyz@LAN] > /tool fetch upload=yes url="sftp://10.10.8.19/tmp/leases.txt" user=root password=test src-path="leases.txt"
status: finished
uploaded: 2KiB
total: 2KiB
duration: 1s