Manual:FTP server: Difference between revisions

From MikroTik Wiki
Jump to navigation Jump to search
m Protected "FTP server" [edit=sysop:move=sysop]
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Versions|2.9, v3, v4}}
MikroTik RouterOS implements a File Transfer Protocol (FTP) server feature. It is intended to be used for software packages uploading, configuration script exporting and importing procedures, as well as for storing HotSpot servlet pages.
MikroTik RouterOS implements a File Transfer Protocol (FTP) server feature. It is intended to be used for software packages uploading, configuration script exporting and importing procedures, as well as for storing HotSpot servlet pages.


Line 36: Line 38:


[[Category:Manual]]
[[Category:Manual]]
[[Category:Tools]]

Latest revision as of 15:05, 14 February 2011

Applies to RouterOS: 2.9, v3, v4

MikroTik RouterOS implements a File Transfer Protocol (FTP) server feature. It is intended to be used for software packages uploading, configuration script exporting and importing procedures, as well as for storing HotSpot servlet pages.

Specifications

  • Packages required: system
  • License required: Level1
  • Submenu level: /file
  • Standards and Technologies: FTP (RFC 959)
  • Hardware usage: Not significant

Description

MikroTik RouterOS has an industry standard FTP server facility. It uses ports 20 and 21 for communication with other hosts on the network. Uploaded files as well as exported configuration or backup files can be accessed under /file menu. There you can delete unnecessary files from the router.

Authorization for FTP service uses router's system user account names and passwords. The ftp local user policy controls the access rights to the FTP server.

Property Description

  • contents (text) - file contents (for text files only; size limit - 4kB)
  • creation-time (read-only: time) - item creation date and time
  • name (read-only: name) - item name
  • package-architecture (read-only: [text]) - RouterOS software package target machine architecture (for package files only)
  • package-build-time (read-only: [date]) - RouterOS software package build time (for package files only)
  • package-name (read-only: [text]) - RouterOS software package name (for package files only)
  • package-version (read-only: [text]) - RouterOS software package version number (for package files only)
  • size (read-only: integer) - package size in bytes
  • type (read-only: text) - item type. Few file types are recognized by extension: backup, directory, package, script, ssh key, but other files are just marked by their extension (.html file, for example)

Command Description

  • print - shows a list of files stored
    • detail - shows contents of files less that 4kB long
    • edit [item] contents - offers to edit file's contents with editor
    • set [item] contents=[content] - sets the file's contents to 'content'