does wodSFTPdll support unicode? (wodSFTP / wodSFTP.NET / wodSFTPdll)

by Justas @, (7326 days ago)

Hello,

let's say on the ftp server there are files whose names are in unicode characters. Could I copy them using wodSFTPdll to my machine correctly (i.e.: file name and file content will remain the same as on the server). If Yes , could you paste here simple example, please?

locked

Re: does wodSFTPdll support unicode?

by Jasmine, (7326 days ago) @ Justas

I don't see why not. ActiveX may have problems due to BSTR conversion, but wodSFTPdll doesn't have that.

Not sure what kind of sample you expect - you can use GetFile to retrieve such file. Sample depends on the filename on the server, right?

locked

Re: does wodSFTPdll support unicode?

by Justas @, (7326 days ago) @ Jasmine

thanks for you quick response.

How can I use unicode characters then, if GetFile function accepts only pointer to char? Can I use multibyte characters? Let's say use wcstombs function to convert wide characters to multibyte characters and pass it to GetFile ? Will GetFile work correctly?

locked

Re: does wodSFTPdll support unicode?

by Jasmine, (7326 days ago) @ Justas

Good point. Hmm..

Any chance we could connect there and try it out?

locked

Re: does wodSFTPdll support unicode?

by Justas @, (7325 days ago) @ Jasmine

today I've tried some functions with multibyte characters as a parameter (used wcstombs function). Seems everything works ok;)

locked

Re: does wodSFTPdll support unicode?

by Jasmine, (7325 days ago) @ Justas

It does? It shouldn't! :)

Do you use API library (wodSFTPdll) or ActiveX? In ActiveX that would make sense, but you said you use wodSFTPdll.

locked