[Qt-interest] QFtp put functions has a bug?

tank tangk at lemote.com
Thu Feb 12 02:28:30 CET 2009


hi all
last , i use the open source lib named ftplib, that's ok!
UTF-8 code
use it's api
put("中国.txt", "/home/ftp/中国.txt");
server :
ls /home/ftp/
中国.txt
it's right.

but when i use qt network lib [UTF-8], ftp->put("中国.txt", "/home/ftp/ 
中国.txt");
ls /home/ftp/
??.txt
Constantin Makshin 写道:
> The archiver is smart enough to replace things like "user at server" with  
> "user at server". And hiding e-mail addresses in the message body won't  
> help much because each archived message includes the sender's address (in  
> "user at server" form).
>
> On Wed, 11 Feb 2009 18:45:43 +0300, Pavel Koshevoy wrote:
>   
>> Srdjan,
>>
>> Please adjust the settings in your mail client so that it wouldn't
>> expose the e-mail address of the person you are replying to in the body
>> of the message.  The messages on the qt-interest mailing list are
>> archived and spammers may be harvesting e-mail addresses from them.
>>
>>     Pavel.
>>
>> Srdjan Todorovic wrote:
>>     
>>> Hi,
>>>
>>> 2009/2/11 Pavel Koshevoy <pavel at aragog.com>:
>>>
>>>       
>>>> Thiago Macieira wrote:
>>>>
>>>>         
>>>>> You can't. QFtp is limited to Latin 1.
>>>>>           
>>>> That's broken. Is there a technical reason for this? Will QFtp support
>>>> international file names (QString or UTF-8 std::string) in the future?
>>>>         
>>> Doesn't that depend on your FTP server?
>>>
>>> Curious... so how does this relate to the rest of the Internet? Are
>>> URLs also i18n? What about web servers? Libc? DNS? Does the FTP
>>> protocol even support i18n filenames?
>>>
>>>  - Srdjan
>>>       
>
>   




More information about the Qt-interest-old mailing list