In an order handed down Monday, U.S. District Judge S. James Otero said Trump's statement was protected speech under the First Amendment.
Mr Trump has denied any relationship with the actress.
Avenatti filed a notice of appeal Monday evening in Daniels' defamation case against Trump.
"In making the statement, Mr. Trump used his national and worldwide audience of millions of people to make a false factual statement to denigrate and attack Ms. Clifford", stated the original April 30 defamation filing in New York Supreme Court by Daniels lawyer Michael Avenatti after Trump let off on social media.
Michael Avenatti, Clifford's attorney and a potential 2020 Democratic presidential candidate, said Clifford would appeal.
Trump's lawyers had argued that Clifford - far from being harmed - has benefited financially from her public dispute with the president.
"Daniels' other claims against Trump and Cohen proceed unaffected", Avenatti tweeted.
"Mr. Trump used his national and global audience of millions of people to make a false factual statement to denigrate and attack Ms. Clifford", the federal court complaint said at the time. "The First Amendment protects this type of rhetorical statement", Otero wrote.
A USA judge on Monday dismissed adult film actress Stormy Daniels's defamation lawsuit against President Donald Trump and ordered her to pay his attorney's fees, saying a tweet the president had written referring to her was protected by free-speech laws.
President Donald Trump's attorneys scored a victory in court when a federal judge dismissed adult-film actress Stormy Daniels' defamation lawsuit against Trump.
Daniels' lawsuit over a hush-money deal is pending.
Mr Trump responded to her account on Twitter, saying: "A sketch years later about a nonexistent man. The ruling also states that the President is entitled to an award of his attorneys' fees against Stormy Daniels", Harder said in a statement.
'We want to get to the bottom of who this is, and we think we know who this is, but we want to confirm it, ' Avenatti told The View's audience.
The unidentified man allegedly warned her not to publicize her purported sexual affair with Trump.