Using QTIFW with FTP
-
The use of QTIFW with FTP seems to be a continuous struggle. See also this post https://forum.qt.io/topic/56661/installer-framework-online-installer-can-t-log-into-repository-over-ftp
My use case is a bit different. I simply want to have somewhere a ftp server and the access shall be controlled through username and password. The project did not have the highest priority, but the trials are stretching back at least to QTIFW 2.0. I was never sure where the problem was actually located with my external ftp site or the maintenance tool of QTIFW.
Recently I have decided to setup a local ftp site on one of my development machines and tried to update an installation on the very same machine. The site has been added in the maintenance tool as temporary repository
The proper user name and password has been added in the appropriate fields as shown above.
After pressing "test" (button Testen) this dialog pops up
Indicating that user name and password is required for access.
Obviously, there is at least also a problem with the maintenance tool.Remembering that there is "special" syntax for ftp urls including user name and password when using in browsers, I looked up the syntax since it has been los in the dusty corners of my memory.
Surprisingly the syntax including user name and password as below was working.
Certainly it looks awkward, but at least it is a work around.
The question is if there is a functionality at all for the menu entries of user name and password?
-
@koahnig said in Using QTIFW with FTP:
Surprisingly the syntax including user name and password as below was working.
Interesting; I didn't realize Qt IFW works with FTP! (I thought it uses QNetworkAccessManager internally, which doesn't support FTP)
I don't know the answer to your question, but you could try the Interest mailing list
-
@JKSH said in Using QTIFW with FTP:
Interesting; I didn't realize Qt IFW works with FTP! (I thought it uses QNetworkAccessManager internally, which doesn't support FTP)
QNetworkAccessManager can handle ip addresses starting with "ftp:". You can download files without problems. QNetworkAccessManager cannot handle the ftp commands for instance for folder navigation (cdup, etc.).