Manual:System/File: Difference between revisions

From MikroTik Wiki
Jump to navigation Jump to search
(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 …')
 
Line 84: Line 84:


* [[M:Scripting-examples | Scripting examples]]
* [[M:Scripting-examples | Scripting examples]]
* [[Editing in console]]
* [[M:Upgrading_RouterOS | RouterOS upgrade]]
* [[RouterOS upgrade]]

Revision as of 09:13, 11 October 2010

Version.png

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