FtpWebRequest - 550 error
Bloqueada
-
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.
Thank you
Ionut
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:22Moderatore
No 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);
Thanks
Mariya- Proposto come risposta Mr. Javaman martedì 12 agosto 2008 13:25
- Proposta come risposta annullata Mariya Atanasova [NCL]Moderator lunedì 25 agosto 2008 21:50
- Contrassegnato come risposta Mariya Atanasova [NCL]Moderator lunedì 25 agosto 2008 21:50
-
lunedì 11 agosto 2008 19:44ModeratoreDoes this answer your questions? If so, please mark the thread as answered
Thanks
Mariya

