Community discussions

MikroTik App
 
tackerman
newbie
Topic Author
Posts: 29
Joined: Tue Jul 14, 2009 7:37 pm

API, '/file/print?name=foo.txt' contents no longer available

Thu Dec 09, 2010 4:09 am

I have software that gets the contents of a small file on my routerboard via the API command '/file/print?name=foo.txt'
This was working as recently as RouterOS 4.6 and is broken starting in RouterOS 4.11, I do not have any version in between to test against.

Is there an alternative way via the API to get the contents of a file on the routerboard?
Thanks
 
User avatar
janisk
MikroTik Support
MikroTik Support
Posts: 6263
Joined: Tue Feb 14, 2006 9:46 am
Location: Riga, Latvia

Re: API, '/file/print?name=foo.txt' contents no longer avail

Thu Dec 09, 2010 9:26 am

/file/print
=from=<filename here>
=detail=