Discuss (FTP) and (SFTP, FTPS and SCP), our Java file transfer clients.
no avatar
User

thestonewell

Posts

6

Joined

Thu Jul 10, 2008 7:21 pm

Enhancment: control encoding choosing UTF-8 based on server

by thestonewell » Fri Jul 18, 2008 10:23 pm

Hi,

as per http://www.ietf.org/rfc/rfc2640.txt a FTP server can indicate that it sends/receives filenames in UTF-8. Currently, the library can only be manually configured with a certain control encoding before you cannot. Thus, I would have to disconnect and reconnect after running the feature command and discovering UTF8 support.

Can the library enhanced to immediately run a FEAT after connect and set its encoding automatically?

Thanks
Thomas
no avatar
User

support2

Posts

3987

Joined

Tue May 18, 2004 8:30 am

Re: Enhancment: control encoding choosing UTF-8 based on ser

by support2 » Sat Jul 19, 2008 7:45 am

Useful idea, thank you. Have you found any servers that support returning UTF8 from FEAT?
no avatar
User

thestonewell

Posts

6

Joined

Thu Jul 10, 2008 7:21 pm

by thestonewell » Tue Jul 22, 2008 5:28 am

Very few actually. The most notably exception being FileZilla server, which does support it. The majority just does support MDTM, SIZE, REST STREAM, PASV.

Also ftp.microsoft.com supports it.

Thomas
no avatar
User

emeratius

Posts

5

Joined

Tue Nov 10, 2009 9:56 pm

by emeratius » Wed Nov 11, 2009 8:27 pm


Who is online

Users browsing this forum: No registered users and 20 guests

Powered by phpBB ® | phpBB3 Style by KomiDesign
cron