Manual:System/File

From MikroTik Wiki
Revision as of 11:09, 11 October 2010 by Marisb (talk | contribs) (Created page with '{{Versions|v3, v4 +}} __TOC__ ==Summary== <p id="shbox"><b>Sub-menu level:</b> <code> /file</code> </p> File menu shows all user space files on the router. It is possible to …')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Applies to RouterOS: v3, v4 +

Summary

Sub-menu level: /file


File menu shows all user space files on the router. It is possible to see and edit file content or delete file. file creation is not possible from this menu, to create files see scripting examples for workaround.

If RouterOS ".npk" package is uploaded, file menu will also show package specific information, like architecture, build date and time, etc.


Properties

Property Description
contents (string; Default: ) Actual content of the file.

Read-only properties

Property Description
creation-time (time) Time when file was created
name (string) Name of the file
package-architecture (string) Architecture that package is built for. Applies only to RouterOS ".npk" files.
package-built-time (string) Time when package was built. Applies only to RouterOS ".npk" files.
package-name (string) Name of the installable package that. Applies only to RouterOS ".npk" files.
package-version (string) version of the installable package that. Applies only to RouterOS ".npk" files.
size (integer) File size in bytes
file type (string) Type of the file. For folders file type is directory

read more