Login  
Search All Forums
Dart Home | PowerTCP FTP for ActiveX | Custom Development Reply | PowerTCP FTP for ActiveX Topics | Forums   
AuthorForum: PowerTCP FTP for ActiveX
Topic: Store file whose name contains german umlaut
hobame

From: Germany
Posts: 3
Member Since: 06/27/16
posted June 27, 2016 9:32 AM

Hi,

I use Store method in VB6 project to upload file to FTP server and encounter a problem with transferring file that containing non-English characters in name, such as german umlauts "".

The version number of the FTP Control for ActiveX is 2.1.

Does anyone have any idea how to make it work? Thanks a lot.

Jogi
hobame

From: Germany
Posts: 3
Member Since: 06/27/16
posted June 28, 2016 3:55 AM

I have sent the command "OPTS UTF8 ON" to inform the server that UTF8 file name will be sent, the UTF-8 is enabled, but it still doesn't work.
Jamie Powell (Admin)

From: Rome, NY USA
Posts: 377
Member Since: 03/13/07

Extra Support Options
Custom Application Development

posted June 28, 2016 1:48 PM

Thank you for your post. An email has been sent to you requesting more information. Please let me know if you have not received this and I will be happy to resend.

Regards,
Jamie
hobame

From: Germany
Posts: 3
Member Since: 06/27/16
posted June 29, 2016 3:58 AM

Thank you Jamie.

I have made a workaround to this problem: encode the unicode filename containing german umlauts before it is passed to FTP Activex method, such as Store or List, and encode the returned string back to unicode to be shown in my own program. This works well.

What I used in my VB6 project are MultiByteToWideChar, WideCharToMultiByte and StrConv functions.

Regards,
Jogi
Reply | PowerTCP FTP for ActiveX Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX