The code here is giving me the error "{"Invalid URI: The hostname could not be parsed."}"
var downloadUri = ConfigurationManager.AppSettings["DownloadUri"];
FtpWebRequest FTPRequest = (FtpWebRequest)FtpWebRequest.Create("ftp://"
+ "user123" +
":" + "p@ssword" + "@" + downloadUri);
The ftp password here has an @ character which when removed allows this piece of code to continue. But the password has an @ character so how can I make this work?