FTP File location, FTP backup

i have few mikrotik routers that connected to main mikrotik router through pptp server client method. now i need to automated backup upload from client routers to main router. script working perfectly. but storage is not enough so i attached usb stick to the main router for save backup files. now i can access directly to the usb sick by ftp://192.168.88.1/disk1. my issue is how can i add address likes that inside of the script. my current script here


###### months array
:local months ("jan","feb","mar","apr","may","jun","jul","aug","sep","oct","nov","dec");

###### get time
:local ts [/system clock get time]
:set ts ([:pick $ts 0 2].[:pick $ts 3 5].[:pick $ts 6 8])

###### get Date
:local ds [/system clock get date]

###### convert name of month to number
:local month [ :pick $ds 0 3 ];
:local mm ([ :find $months $month -1 ] + 1);
:if ($mm < 10) do={ :set mm ("0" . $mm); }

###### set $ds to format YYYY-MM-DD
:set ds ([:pick $ds 7 11] . $mm . [:pick $ds 4 6])

###### get system name
:local sysname [/system identity get name];

###### create filename
:local filename ([$sysname].".backup")

###### create backup file
/system backup save name=$filename;

###### upload file via FTP
/tool fetch address=192.168.88.1 src-path=$filename user=user mode=ftp password=password dst-path=$filename upload=yes

###### delay before deleting files from local filesystem
:delay 10s;

###### delete file
/file remove $filename;

###### add log record
/log info "scheduled weekly backup completed";
dst-path=disk1/$filename

From the manual (Wiki):

dst-path (string; Default: ) Destination filename and path

https://wiki.mikrotik.com/wiki/Manual:Tools/Fetch

It seems to be solved now and I did not see a daily repost of this. :wink:

in the scrip it show as wrong when i add

dst-path=disk1/$filename

. but i can do like this

dst-path=disk1/myfilename.backup

.it is solved my problem. but it is better any way to add

dst-path=disk1/$filename