This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Kate won't upload FTP until I close it.

Tags: None
(comma "," separated)
User avatar
vayu
Registered Member
Posts
129
Karma
0
OS
I just upgraded to KDE 4.4 from 4.3 (Kubuntu Karmic to Lucid) and now when opening a file with Kate from a Konqueror FTP window if I hit ctrl-s to save my file it doesn't get saved back to the server. Only after I close the Kate window will it then ask if I want to upload.

I like to keep the window open, hit ctrl-s (on an HTML file) then refresh my browser to see the change. Now I have to close the window and reopen it over and over to try multiple changes.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
If you launch Kate with the FTP url directly does it work?

(Run in Konsole, adjusting the FTP path appropriately)
Code: Select all
kate ftp://ftp.example.com/example/file.txt


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
vayu
Registered Member
Posts
129
Karma
0
OS
bcooksley wrote:If you launch Kate with the FTP url directly does it work?

(Run in Konsole, adjusting the FTP path appropriately)
Code: Select all
kate ftp://ftp.example.com/example/file.txt


Yes that worked the way I wanted. I could make a change, hit ctrl-s without closing the kate window and then refresh the browser and the change showed up.

Any idea how I could get it to work like that when I invoke kate using FTP in Konqueror? The new way it's working really messes up the flow I've had for several years.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Please open System Settings > Advanced > File Assocations, and find the association "text/plain" and select "Kate" from the list of possible actions, and select to edit that assocation.

In the "Command" section, ensure that "%U" is used instead of "%f" or anything similar in the arguments to the url.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
vayu
Registered Member
Posts
129
Karma
0
OS
bcooksley wrote:Please open System Settings > Advanced > File Assocations, and find the association "text/plain" and select "Kate" from the list of possible actions, and select to edit that assocation.

In the "Command" section, ensure that "%U" is used instead of "%f" or anything similar in the arguments to the url.



That worked. Thank you, thank you, thank you!


Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], Evergrowing, Google [Bot], q.ignora, watchstar