int m_id = DownloadStart("http://www.server.de/box.rar","box.rar");
wait(15);
while(DownloadGetStatus(m_id))
{
str_for_num(m_num,(var)DownloadGetProgress(m_id));
str_cpy(m_str,m_num); str_cat(m_str,"\n");
str_for_num(m_num,(var)DownloadGetProgressInKBytes(m_id));
str_cat(m_str,m_num); str_cat(m_str,"\n");
str_for_num(m_num,(var)DownloadGetSize(m_id));
str_cat(m_str,m_num); str_cat(m_str,"\n");
str_for_num(m_num,(var)DownloadGetStatus(m_id));
str_cat(m_str,m_num); str_cat(m_str,"\n");
wait(1);
}