Community discussions

MikroTik App
 
Pada
Member Candidate
Member Candidate
Topic Author
Posts: 150
Joined: Tue Dec 08, 2009 11:37 pm
Location: South Africa, Stellenbosch

file get contents 4kB limit workarounds?

Fri Jan 08, 2010 12:47 pm

Hi all,

Is there a way to read the contents of a file bigger than 4kB, since the LUA would only be implemented in ROS v5?

I can write a script on the PC to split the file into 4095 byte files, but I would prefer to have a script that can read the large file without having to split it.
 
User avatar
mrz
MikroTik Support
MikroTik Support
Posts: 7167
Joined: Wed Feb 07, 2007 12:45 pm
Location: Latvia
Contact:

Re: file get contents 4kB limit workarounds?

Fri Jan 08, 2010 2:39 pm

Unfortunately yo can't.
 
neticted
Member Candidate
Member Candidate
Posts: 137
Joined: Wed Jan 04, 2012 10:36 am

Re: file get contents 4kB limit workarounds?

Fri Aug 23, 2013 10:35 am

It has nothing to do with fortune but some very strange habit of Mikrotik designers to cripple router in ridiculous manner.

It is understandable that there has to be some limitation, but hey, just 4KB?!?!??!
 
User avatar
janisk
MikroTik Support
MikroTik Support
Posts: 6263
Joined: Tue Feb 14, 2006 9:46 am
Location: Riga, Latvia

Re: file get contents 4kB limit workarounds?

Mon Aug 26, 2013 3:42 pm

if used with caution, maybe you can place content in comment field. Not in file body.
 
User avatar
payday
Member Candidate
Member Candidate
Posts: 233
Joined: Thu Aug 16, 2012 11:05 pm

Re: file get contents 4kB limit workarounds?

Tue Aug 27, 2013 8:13 pm

You can try to use OpenWrt Linux running in MetaRouter. I use it to process larger files and then send results back to RouterOS.

Who is online

Users browsing this forum: No registered users and 7 guests