[#2969] fix upload from cliboard
fix the clipboard upload problem