Wednesday, March 1, 2017

How to Use Tool Fetch Mikrotik

How to Use Tool Fetch Mikrotik


Fetch Mikrotik Tool is one of the tools in the console / terminal RouterOS that serves to copy (copy) files via ftp protocol, http and https. Fetch tool is able to copy files from other devices to the router Mikrotik (download) or copy files from other devices to Mikrotik Router (upload). So its use is similar to wget on linux, with a different command.


Until RouterOS version 6.38.1, tool fetch mikrotik still no menu in the GUI fetch her Winbox. So to use this tool fetch we still have to type the command in the terminal Mikrotik. It does not matter, because the use of his command we will discuss one by one on Tutorial Mikrotik this time until easy to understand.

Tutorial How to Use Tool Fetch Mikrotik

Although the tool fetch only run on a console / terminal, but I suggest to login using Winbox Mikrotik for easy application.

Open Terminal Mikrotik. Here I will give some examples of the application tool fetch proxy.

1. Example of use Mikrotik Tool Fetch to download files from an FTP folder Public

Here I will mikrotikindo.rsc demonstrated to download files from the Public folder / Mikrotik on FTP. Given the FTP folder that is used is public, so that we do not need to enter a username and password on the command fetch FTP proxy.

Here is an example command Tool Fetch FTP Mikrotik for Public folder:

tool fetch src-address = ip.address.ftp path = direktori.file.ftp mode = ftp path = direktori.tujuan dst-port = 21 keep-result = yes

Please replace the text marked yellow according to your data. For more details, see the following picture:



In the picture above, the parameter status: finished, meaning that the files on ftp has been successfully downloaded to Mikrotik Router. We can see it on the downloaded file Files menu:



2. Example Usage Tool Fetch Mikrotik Mikrotik to upload files from FTP to the Public folder

To perform an FTP upload files to the Public folder, the command is as follows:

tool fetch src-address = ip.address.ftp path = direktori.file.router mode = ftp upload port = 21 = yes
For more details you can see the example image below:


Once the upload is completed characterized by parameters status: finished, try to check its FTP folder if the uploaded file has been successfully entered.


3. Example Usage Tool Mikrotik Fetch to download files from an FTP folder non Public

Examples of this time much like the example No. 1, the difference between folders / FTP directory used instead of public folders, but other folders that need a specific username and password to download and upload the file. Examples of this time can also be engraved on the FTP are no public folder and indeed must enter a username and password to log her.
I demonstrated downloading files from the FTP directory with the filename winbox.exe MikrotikIndo
Here is an example command Mikrotik Tool Fetch for FTP username and password:

tool fetch src-address = ip.address.ftp path = direktori.file.ftp mode = ftp port = 21 = user password = password.ftp user.ftp

For more details, please see the following picture:

His results as follows:


4. Example Usage Tool Mikrotik Fetch to download a file from a Website

At this time there are 4 Example methods would I demonstrated to download a file from a website using Fetch Tool Mikrotik. Due to fetch download from our website can use several different parameters, namely address, host, and url. It also will I demonstrated downloading files from a website with encryption SSL / HTTPS.

4.1. Usage Parameter Tool Fetch Address in Mikrotik to download files from the Website (http)

Parameter address on Mikrotik fetch tool can be filled with the IP address or domain specific website. To be able to download from the website http performs, then the mode parameter is filled with mode = http. Examples of its use:

tool fetch src-address = ixp.mikrotik.co.id path = /download/nice.rsc mode = http

4.2. Usage Parameter Address and Host on Mikrotik Fetch Tool for Download File from a Website (http)

In some cases, there are websites that can not fetch the address parameters only, as the location of its website in specific hosts on the ip address of the website. To handle it, can add the parameter host. Examples of its use:

tool fetch address = rizkyagung.net host = rizkyagung.net winbox.exe path = src-dst-path = winbox.exe mode = http

4.3. Url Parameter Tool Usage on Mikrotik Fetch to download files from the Website (http)

To use the tool fetch the two previous examples I think are too complicated yes. To make it more simple, we can use the url parameter. Url condition we must know the full path to the file that is going on fetch. Examples of its use as follows:

tool fetch url = "http://rizkyagung.net/winbox.exe" mode = http

4.4. Url Parameter Tool Usage on Mikrotik Fetch to download files from the Web site (https)

What if his websites using https encryption? Stay can, how to use the mode = https. Example :

tool fetch url = "https://download2.mikrotik.com/routeros/winbox/3.11/winbox.exe" mode = https

Quite so first yes discussion about Fetch Mikrotik Tool her. In the next article I will share Fetch Tool application to perform backups and export mikrotik perform automatic configuration to an FTP Server

No comments:

Post a Comment