Files with åäö on the FTP-server - by using ftp.ahk v2 - UTF-8 Topic is solved

Get help for the alpha version of AutoHotkey v2 here. Please state the v2 version you are working with in the title when making a new topic.
Albireo
Posts: 1402
Joined: 16 Oct 2013, 13:53

Files with åäö on the FTP-server - by using ftp.ahk v2 - UTF-8

25 Jun 2020, 13:48

Have started trying to manage files on an FTP server.
I use the library ftp.ahk v2 by @shajul
With the documentation FTP Class by Shajul
Latest code from Shajul on GitHub FTPv2.ahk

I have no idea how to manage files on the FTP-server with Swedish characters (eg. åäö). Some things seem to work, but other things not.
eg. If I want to find a file with the name 123å.7z The file name to be found looks like this 123Ã¥.7z

Is it possible to create the search text with UTF-8?
(or is there any other solution?)

No problem to handle the files on the FTP-server with FileZilla.
Albireo
Posts: 1402
Joined: 16 Oct 2013, 13:53

Re: Files with åäö on the FTP-server - by using ftp.ahk v2 - UTF-8?

26 Jun 2020, 04:51

Creating directories (with åäö) on the FTP server is no problem - with the ftp.ahk library (oFTP.CreateDirectory("testing_åää"))
It's no problem to copy files (with åäö) to the FTP-server - oFTP.PutFile("LocalFile_åäö.txt", "FTP_File åäö.txt")

But ...
- When I try to find the file FTP_File åäö.txt on the FTP-server - I fail. (the program stop search)

Find FTP_File åäö.txt on FTP-server

- If the files on the FTP server are listed (with FTP.ahk v2), the file name looks like this FTP_File åäö.txt (but with FileZilla I can't see any problem)
- and if the FTP-directory has åäö - I get no result...
List the files on FTP-server
Is this problem impossible to handle with AHK?
What to do?

Return to “AutoHotkey v2 Help”

Who is online

Users browsing this forum: Kapitano, swagfag and 7 guests