[dev] [PATCH] [VFS] FTP NLS charset conversion support

Benoit Branciard Benoit.Branciard at univ-paris1.fr
Fri Sep 2 01:15:15 PDT 2005


It appears that the current FTP VFS driver (VFS/ftp.php) has no support 
for character set conversion on filenames.

As a quick and dirty hack, the attached patch adds necessary stuff for 
handling pathnames conversion between Horde (dynamically-seleted) 
charset and FTP server (fixed) charset.
This adds a new 'charset' parameter to the VFS_ftp class to hold the 
character set the FTP server operates (ex: iso8859-1).

This patch applies to horde-3.0.5.tar.gz stable release, as well as 
framework-FRAMEWORK_3-2005-09-01.tar.gz snapshot (may need to use patch 
-p2 to strip file path).
This should work on HEAD snapshot also, except for the header (hunk #1) 
which sould be manually edited since new parameters have been added.



-- 
Ce message a été vérifié par MailScanner
pour des virus ou des polluriels et rien de
suspect n'a été trouvé.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: VFS_ftp.convcharset.patch
Url: http://lists.horde.org/archives/dev/attachments/20050902/211b9383/VFS_ftp.convcharset-0001.ksh


More information about the dev mailing list