inv.addArgument( "NewTorrentHash", hash );
inv.addArgument( "NewTorrentData", chunk );
inv.addArgument( "NewChunkOffset", String.valueOf( offset ));
inv.addArgument( "NewTotalLength", String.valueOf( total_size ));
UPnPActionArgument[] args = inv.invoke();
for (int i=0;i<args.length;i++){
UPnPActionArgument arg = args[i];