lunedì 4 agosto 2008 12:20Hello,
i want to create a simple FTP Client.One of the requierements is that FTP Client should support special charcaters (like french characters)
in the files names.I have searched alot on the web for a solution but i havent found one.I think it is releated to URI encoding but i don't have any ideea about how should i encode requested URI so that special charcaters should be supported.
Any quick help would be appreciated.
Tutte le risposte
martedì 5 agosto 2008 05:35You can try using the System.Web.HttpUtility.EncodeUrl method to encode whichever part of the path needs encoding.
mercoledì 6 agosto 2008 15:22ModeratoreNo need to encode it beforehand. The System.Uri callss already supports international characters.
Uri uri = new Uri("your string containing international characters);
FtpWebRequest fwr = (FtpWebRequest) WebRequest.Create(uri);
lunedì 11 agosto 2008 19:44ModeratoreDoes this answer your questions? If so, please mark the thread as answered