Normalize a RouterOS file path: accept a leading / for ergonomics but strip it (REST /file keys and SFTP paths want the bare name), and collapse any duplicate slashes. flash/x and /flash/x resolve to the same target.
/
/file
flash/x
/flash/x
Normalize a RouterOS file path: accept a leading
/for ergonomics but strip it (REST/filekeys and SFTP paths want the bare name), and collapse any duplicate slashes.flash/xand/flash/xresolve to the same target.