Saving Documents from an http URL on clicking on link

Hi Everyone, I have requirement where the file needs to be saved into Appian once I have clicked on a link. I have used http filedownload smart service, but I am getting an invalid file type. So, any thoughts will be helpful!

  Discussion posts and replies are publicly visible