I woud be interested to know what line you are meaning. I have the same issue and I have no "download line" in ocsinventory-agent.cfg:
basevardir=/var/lib/ocsinventory-agent
debug=1
ca=/etc/ssl/certs/cacert.pem
tag=wiki
server=http://ocsinventory-ng/ocsinventory
logfile=/var/log/ocsinventory.log