In beta 6.5 I've got #4004 error message when I tried to configure FTP settings from the publish windows. I've checked all login details but the error message appeared each time.
The error get when I tried FTP settings from the UI is:
Create error 0x0000276d ==> Datei ".\FTPClient.cpp" (376)
EP, check again that feature.