[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde
Subject:    [kde] using remote URL instead of cache
From:       Daniel Barna <daniel.barna () cern ! ch>
Date:       2012-03-08 8:43:24
Message-ID: 4F58712C.8070806 () cern ! ch
[Download RAW message or body]

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 /var/tmp/kdecache-barna/... and this local 
file is given to my application, instead of the original remote URL. Can 
I change this behaviour somehow?

(If my application changes the file, KDE still recognizes it and uploads 
the changed file - but only after my application quits. And also for 
some reason this uploading fails, whereas if I call my app from the 
command line with the remote URL directly, the immediate uploading of 
changes works nicely).

Thanks
Daniel
___________________________________________________
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic