Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Installer framework online installer can't log into repository over ftp
Hertzy last edited by A Former User
I'm trying to create an online installer for my application. Currently the configuration file I'm using looks like this:
<?xml version="1.0" encoding="UTF-8"?> <Installer> <Name>Application title</Name> <Version>0.9.0</Version> <Title>Title</Title> <Publisher>Me</Publisher> <StartMenuDir>Fysiapp</StartMenuDir> <RunProgram>@TargetDir@/some.exe</RunProgram> <TargetDir>@ApplicationsDir@/somedirectory</TargetDir> <RemoteRepositories> <Repository> <Url>ftp://[repository url]/repository</Url> <Enabled>1</Enabled> <Username>[my username]</Username> <Password>[my password]</Password> <DisplayName>Example repository</DisplayName> </Repository> </RemoteRepositories> </Installer>
When I execute the installer, it keeps throwing up the login dialog, telling me "you need to supply a username and password to access this site [repository url]". Inputting any of the usernames and passwords with which I have managed to log in to my ftp server doesn't help. Cancelling stops the install with the message "authentication failed".
How should I go about solving this?
koahnig last edited by
This is quite an old post. Nevertheless in case someone encounters the same or similar issues.
In my case https://forum.qt.io/topic/93676/using-qtifw-with-ftp the syntax of ftp urls including user name and password helped.