Uploads a file to a ICAP server.