[twsocket] FTP language testing
I'm just finishing internationalisation of the FTP client and server, and thought the following client test against Ipswitch WS_FTP Server quite interesting (at least for non-English speakers): LANG EN 200 Default languages set to EN LANG FR 200 Les langues par défaut sont FR CWD /pub/simtelnet 550 Répertoire /pub/simtelnet introuvable I have added LANG to our server since it's required by RFC2640 - Internationalization of the File Transfer Protocol, but have no plans to support any other languages, unless someone offers translation of the server messages. Angus -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
Re: [twsocket] FTP language testing
Angus Robertson - Magenta Systems Ltd wrote: I have added LANG to our server 550 Répertoire /pub/simtelnet introuvable Nice, I had not yet time to look at your code, does this also define a language specific ANSI code page? I offer to translate to German anyway. Also I'll soon fix a few older bugs in the FTP server I found last week dealing with terminating the client ProcessingThread and impersonation of user's security context when a thread is used. -- Arno -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
Re: [twsocket] FTP language testing
Nice, I had not yet time to look at your code, does this also define a language specific ANSI code page? Not yet in SVN... RFC2640 says: The LANG command only affects presentation of greeting messages and explanatory text associated with command responses. No attempt should be made by the server to translate protocol elements (FTP commands and numeric responses) or data transmitted over the data connection. so in theory should not effect the CodePage. However FTP has always been very fluid with people adding their own commands and interpreting existing commands in different ways, so it's possible developers of FTP servers aimed at non-English countries are setting the CodePage from LANG. But using UTF8 is much safer. Mind one RFC refers to the OPTS UTF-8 command, another to OPTS UTF8, so one does need to interpret these things broadly. Also, all sensible FTP servers (including Microsoft) have implemented OPTS UTF8 ON (and OFF) which is not mentioned in any RFCs, anywhere, yet, developers just seem to follow each other. I do have a plan to improve FTP compatibility, real soon. I offer to translate to German anyway. Kind offer, unfortunately dynamically changing the literals is going to another project, not complicated, but tedious. Angus -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be