Upload folder erase and resp message bug fix