Community discussions

MUM Europe 2020
 
akschu
newbie
Topic Author
Posts: 43
Joined: Thu Mar 15, 2012 2:09 am

/tool fetch always truncates files to 4096 bytes when using https.

Sat Apr 04, 2015 12:20 am

See below. The exact same file from the same server gets truncated when downloaded through https:

[admin@MikroTik] /file> /tool fetch url="https://webserver/test"
status: finished

[admin@MikroTik] /file> print where name=test
# NAME TYPE SIZE CREATION-TIME
0 test file 4096 jan/01/1970 16:32:33
[admin@MikroTik] /file> remove test


[admin@MikroTik] /file> /tool fetch url="http://webserver/test"
status: finished

[admin@MikroTik] /file> print where name=test
# NAME TYPE SIZE CREATION-TIME
0 test file 5.7KiB jan/01/1970 16:32:49
[admin@MikroTik] /file> remove test

This makes some automation tasks pretty difficult. Tested on 6.27 and 6.28rc20.

Please fix!!!
 
jarda
Forum Guru
Forum Guru
Posts: 7602
Joined: Mon Oct 22, 2012 4:46 pm

/tool fetch always truncates files to 4096 bytes when using https.

Sat Apr 04, 2015 7:04 am

Having fetch problem also. Getting ip from ip giving page that is still the same but the content sometimes have one space before but looks to be interpreted as cr-lf. And sometimes not. I realised it when I saw strange script behaviour after update to 6.27. Hadn't time to report to support so far
Hope you did.
 
akschu
newbie
Topic Author
Posts: 43
Joined: Thu Mar 15, 2012 2:09 am

Re: /tool fetch always truncates files to 4096 bytes when using https.

Mon Apr 27, 2015 7:26 pm

Yay!!! This bug is fixed since 6.29rc10:

http://www.mikrotik.com/download/share/ ... 29rc10.npk

Thanks Mikrotik!

Who is online

Users browsing this forum: blingblouw, darkringfire, jonhyg, rubynitian, vilpalu and 137 guests