add file upload func by socket-stream