Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Installer framework online installer can't log into repository over ftp
Forum Updated to NodeBB v4.3 + New Features

Installer framework online installer can't log into repository over ftp

Scheduled Pinned Locked Moved General and Desktop
qtifw
2 Posts 2 Posters 1.4k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Offline
    H Offline
    Hertzy
    wrote on last edited by A Former User
    #1

    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?

    K 1 Reply Last reply
    0
    • H Hertzy

      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?

      K Offline
      K Offline
      koahnig
      wrote on last edited by
      #2

      @Hertzy

      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.

      Vote the answer(s) that helped you to solve your issue(s)

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved