New example using a callback with the "upload" method