<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<pre wrap=""><div class="moz-txt-sig">
<font color="#000000">First of all, sorry for not replying to the original mail (i.e messing up the thread in the archive). I received it in a digest email, did not manage to figure out how to reply in a correct way.
I tried with %u (updated the .desktop file, ran kbuildsycoca4). Same: the file is cached in /var/tmp/kdecache-barna/, and this file is given to my app.
Thanks
</font><blockquote>On Thursday, 2012-03-08, Daniel Barna wrote:
<blockquote type="cite" style="color: #000000;"><pre wrap="">Hi,
I have created a wrapper script around an application so that it can
handle remote files, and also directly save to the remote location (i.e.
immediately upload to the remote location when it saves the file)
The .desktop file contains this line:
Exec=my-application %U
indicating that this application can handle remote URLs. Nevertheless,
when I open a remote file in dolphin with my application, the remote
file is first downloaded to <i class="moz-txt-slash"><span class="moz-txt-tag">/</span>var/tmp/kdecache-barna<span class="moz-txt-tag">/</span></i>... and this local
file is given to my application, instead of the original remote URL. Can
I change this behaviour somehow?
</pre></blockquote><pre wrap="">Hmm, you are right that %U should have the desired effect.
Can you try %u as well, i.e. indicating support for one URL?
Cheers,
Kevin</pre></blockquote></div></pre>
</body>
</html>