I have the code:
FtpWebRequest request = (FtpWebRequest)FtpWebRequest.Create(url);
request.Method = WebRequestMethods.Ftp.DownloadFile;
request.UseBinary = t
Do a string replace with "#" ->"%23"
URL encodings shouldn't contain a hash because:
Some characters present the possibility of being misunderstood within URLs for various reasons. These characters should also always be encoded.
You can use HttpUtility.UrlEncode to encode the special characters.