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

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!!!

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.

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

http://www.mikrotik.com/download/share/routeros-mipsbe-6.29rc10.npk

Thanks Mikrotik!