Feature Request: RAMDisk OR HTTP GET/POST Without Flash Writes

I would really like a way to use the “/tool fetch” command in scripts that will work directly in RAM and not write to flash. Many of the new Mikrotik routers have decent amounts of RAM, but low amounts of flash that I don’t want to wear out.

I have a couple ideas on ways to solve this.
Rather than fetch, a separate tool that will output the results of an HTTP GET/POST so it can be stored in a variable. It would be nice if the HTTP response code is included somehow. Bonus points for somehow storing arrays / command outputs as JSON!

Alternatively, RouterOS can include a RAM Disk feature so we can allocate a few MB of storage to store the responses in RAM. It has been requested a few times here, but nothing ever came of it. This would be close to the bare minimum for my needs, though I could probably figure something out if this is added.

One project I was hoping to start was to build a cnMaestro-like tool that allows routers to connect to a remote webserver to “check in”, push out stats (connected wifi clients, firmware versions, uptime, ect), grab configuration changes and act as a very basic internal DDNS. I’m afraid of wearing out the flash excessively by doing many HTTP requests every 5 minutes or so.

I think that feauture is already paritial implemented in ROS. Some of boards have separate /flash directory.

That’s the opposite approach not usable with normal flash equipped devices. The ramdisk is a must in such case or attaching of some external media to use it for excessive writing instead of internal flash. Please continue to this post and do not open new ones for such topic.
forum.mikrotik.com/viewtopic.php?t=121458

It looks like in this thread from way back in 2004, they added to some sort of list, but it never took off.

http://forum.mikrotik.com/t/new-feature-suggestion-ramdisk/961/1

RAM sure is cheap and plentiful now, I would love to see Mikrotik add ramdisk.

You have been heard, see the latest ROS 6.42rc15:

*) fetch - added “output” option for all modes in order to return result to file, variable or ignore it;

greetings, Daniel

Cool… !!! I, amongst others, needed that!!!

Thanks Daniel, I didn’t see that RC! This should tidy things up a lot.

That is nice, but I still would like to have a RAMdisk!