[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: KUrl::toLocalFile ()
From: Thiago Macieira <thiago () kde ! org>
Date: 2008-01-29 15:46:45
Message-ID: 200801291646.46421.thiago () kde ! org
[Download RAW message or body]
[Attachment #2 (multipart/signed)]
Paulo Moura Guedes wrote:
>Hi,
>
> KUrl
> url("sftp://moura@paradigma.pt/home/moura/public_html/index.html");
> kDebug() << url;
> kDebug() << url.toLocalFile();
>
>Is this expected?
>
>QUrl( "sftp://moura@paradigma.pt/home/moura/public_html/index.html" )
>""
Yes.
sftp:// is not local file.
KUrl is not about downloading stuff (this is not java.net.URL). It's about
URLs -- parsing and decoding them.
If you want to get the content, you need KIO.
--
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
PGP/GPG: 0x6EF45358; fingerprint:
E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
["signature.asc" (application/pgp-signature)]
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic