Use Filedownload.save
Filedownload.save("/img/sun.jpg", null);
See file download from
/zkau
the url should be resource uri