I am trying to access a user account using the ftpget example code to download a file from its local dir tree. This uses the CUrl class to parse the URL string. However, it seems to be parsing the url-path incorrectly.
If I have something like "ftp::/userasswd@192.168.1.1/path/to/follow/FILE", I would expect the path to be "path/to/follow/FILE" but it is "/path/to/follow/FILE". This contradicts what how several other packages process the URL (wget,curl,firefox). Even the Qt Assistant doc shows that the path includes the initial '/' character, which is wrong according the the RFC1738 URL documentation.
Is there a method to retrieve the proper path? Is there anything in the works to fix this? Or do most people think this is not an issue? If it is known that QUrl will always process the url in this manner then I can at least update the internal url to remove the '/' prefix.
Bookmarks