Quantcast
Channel: MikroTik
Viewing all articles
Browse latest Browse all 21457

Scripting • Re: Fetch with https is not saving to flash from script

$
0
0
I found out that the file is send to RAM instead. How can I change the destination to Flash?
Set dst-path="flash/newfile.rsc" to save file on flash.
Also as @rextended mentioned, mode=https can be removed, it is deprecated by scheme in url, url="https://..." to avoid potential issues in some further ROS versions.

Or as an alternative, can I import the file from the RAM memory?

Code:
import file-name="<some_file>"
it doesn't depend where file is located if path to file is correct, if is in RAM (tmps) and in not in some subdirectory just set filename in file-name command parameter.

Statistics: Posted by optio — Mon Feb 10, 2025 8:24 pm



Viewing all articles
Browse latest Browse all 21457

Trending Articles