gridftp: handle errors during fileupload