Manual:Tools/Fetch: Difference between revisions
Jump to navigation
Jump to search
m moved Fetch to Manual:Tools/Fetch |
(No difference)
|
Revision as of 17:39, 11 March 2010
(needs editing)
Applies to RouterOS: v3, v4
Summary
Sub-menu: /tool fetch
Standards:
Fetch is one of the console tools in Mikrotik RouterOS. It is used to copy files from the network device to a Mikrotik.
Properties
Property | Description |
---|---|
address(string; Default: ) | IP address of the device to copy from. |
dst-path(string; Default: ) | Title of the input file and file path. |
host(string; Default: ) | Domain name or virtual domain name (if used on web-site, from which you want to copy information). For example,
address=wiki.mikrotik.com host=forum.mikrotik.comIn this example the resolved ip address is the same (66.228.113.27), but hosts are different. |
keep-result(yes|no; Default: yes) | If yes, creates an input file. |
mode(ftp|http|tftp; Default: http) | Choose the protocol of connection - http, ftp or tftp. |
user(string; Default: ) | User name, which is needed to login the remote device. |
password(string; Default: ) | Password, which is needed to login the remote device. |
port(integer; Default: ) | Connection port. |
src-path(string; Default: ) | Title of the remote file you need to copy. |
The following example shows how to copy the file with filename "conf.rsc" from device with ip address 192.168.88.2 by FTP protocol and save it as file with filename "123.rsc". User and password are needed to login into the device.
[admin@mt-test] /tool> fetch address=192.168.88.2 src-path=conf.rsc user=admin mode=ftp password=123 dst-path=123.rsc port=21 host="" keep-result=yes