Hello,
I modify my Web files directly remotely on my server on Konqueror, with sftp:// and kedit. The files are open remotely in the folder "/var/www/..." with sftp. After closing the files, they are modified directly on the server. It works fine.
Excepted with the files.jsp : They are not open on the server remotely in "/var/www", but on the hard disk of my PC in the folder : "/home/andre/.trinity/cache.../krun/..."
So, after modifications, I close the file and after I have to send the files.jsp from "/home/andre/.trinity/cache/krun/" on the server, into /var/www/... It's not automatic and direct, as the files.php.
Why this difference between files.php and files.jsp ? (the both are text files) and how to correct it ?
JSP and PHP files have the same rights and owners : 775 and www-data.
Thanks,
André
Hello,
No aswer, so I repeat my question :
Why I can modify a .PHP file directly on a remote server via sftp with Konqueror, but I cannot with a .JSP file ? (download, modification on my computer, upload).
The both are text files.
Thanks,
André
On Saturday 04 November 2017 23:06:38 andre_debian@numericable.fr wrote:
I modify my Web files directly remotely on my server on Konqueror, with sftp:// and kedit. The files are open remotely in the folder "/var/www/..." with sftp. After closing the files, they are modified directly on the server. It works fine. Excepted with the files.jsp : They are not open on the server remotely in "/var/www", but on the hard disk of my PC in the folder : "/home/andre/.trinity/cache.../krun/..." So, after modifications, I close the file and after I have to send the files.jsp from "/home/andre/.trinity/cache/krun/" on the server, into /var/www/... It's not automatic and direct, as the files.php. Why this difference between files.php and files.jsp ? (the both are text files) and how to correct it ? JSP and PHP files have the same rights and owners : 775 and www-data.
andre_debian@numericable.fr wrote:
No aswer, so I repeat my question :
Why I can modify a .PHP file directly on a remote server via sftp with Konqueror, but I cannot with a .JSP file ? (download, modification on my computer, upload).
The both are text files.
Thanks,
André
Hi Andre,
sorry that you did not get an answer in expected time frame. I guess no one had the time to look into the code or the application itself or didn't experience this issue. I was just able to create and modify test.jsp on the server with kedit and kate. Which editor are you using - to me it sounds like associated with the editor. Check what is jsp associated with or try right mouse click and open with.
regards
On Saturday 11 November 2017 19:30:27 deloptes wrote:
andre_debian@numericable.fr wrote:
No answer, so I repeat my question : Why I can modify a .PHP file directly on a remote server via sftp with Konqueror, but I cannot with a .JSP file ? (download, modification on my computer, upload). The both are text files.
Hi Andre, sorry that you did not get an answer in expected time frame. I guess no one had the time to look into the code or the application itself or didn't experience this issue. I was just able to create and modify test.jsp on the server with kedit and kate. Which editor are you using - to me it sounds like associated with the editor. Check what is jsp associated with or try right mouse click and open with.
Hi,
It's what i did "assocation of files" : *.jsp editor kedit. With konqueror, I click on the file, automatically open with kedit, but no result as I wrote.
On Saturday 11 November 2017 20:37:27 andre_debian@numericable.fr wrote:
On Saturday 11 November 2017 19:30:27 deloptes wrote:
andre_debian@numericable.fr wrote:
No answer, so I repeat my question : Why I can modify a .PHP file directly on a remote server via sftp with Konqueror, but I cannot with a .JSP file ? (download, modification on my computer, upload). The both are text files.
Hi Andre, sorry that you did not get an answer in expected time frame. I guess no one had the time to look into the code or the application itself or didn't experience this issue. I was just able to create and modify test.jsp on the server with kedit and kate. Which editor are you using - to me it sounds like associated with the editor. Check what is jsp associated with or try right mouse click and open with.
Hi,
It's what i did "assocation of files" : *.jsp editor kedit. With konqueror, I click on the file, automatically open with kedit, but no result as I wrote.
can you edit it wit nano?
Am Samstag, 11. November 2017 schrieb wofgdkncxojef@gmail.com:
On Saturday 11 November 2017 20:37:27 andre_debian@numericable.fr wrote:
On Saturday 11 November 2017 19:30:27 deloptes wrote:
andre_debian@numericable.fr wrote:
No answer, so I repeat my question : Why I can modify a .PHP file directly on a remote server via sftp with Konqueror, but I cannot with a .JSP file ? (download, modification on my computer, upload). The both are text files.
Hi Andre, sorry that you did not get an answer in expected time frame. I guess no one had the time to look into the code or the application itself or didn't experience this issue. I was just able to create and modify test.jsp on the server with kedit and kate. Which editor are you using - to me it sounds like associated with the editor. Check what is jsp associated with or try right mouse click and open with.
Hi,
It's what i did "assocation of files" : *.jsp editor kedit. With konqueror, I click on the file, automatically open with kedit, but no result as I wrote.
can you edit it wit nano?
Or if you are at it: When you open the file in kedit, does the title say "sftp://server/..." or is it some local name?
Nik
On Saturday 11 November 2017 21:00:02 wofgdkncxojef@gmail.com wrote:
On Saturday 11 November 2017 20:37:27 andre_debian@numericable.fr wrote:
On Saturday 11 November 2017 19:30:27 deloptes wrote:
andre_debian@numericable.fr wrote:
No answer, so I repeat my question : Why I can modify a .PHP file directly on a remote server via sftp with Konqueror, but I cannot with a .JSP file ? (download, modification on my computer, upload). The both are text files.
sorry that you did not get an answer in expected time frame. I guess no one had the time to look into the code or the application itself or didn't experience this issue. I was just able to create and modify test.jsp on the server with kedit and kate. Which editor are you using - to me it sounds like associated with the editor. Check what is jsp associated with or try right mouse click and open with.
It's what i did "assocation of files" : *.jsp editor kedit. With konqueror, I click on the file, automatically open with kedit, but no result as I wrote.
can you edit it wit nano ? :
Thanks for your answers.
nano is not an graphic editor as kedit or kwrite, so, not practical.
Or if you are at it: When you open the file in kedit, does the title say "sftp://server/..." or is it some local name ? Nik :
file.php : sftp://andre@ad/var/www/ (so, able to be modified directly from the remote server),
file.jsp : a local name : /home/andre/.trinity/tmp/krun/file.jsp (can be modified only on my computer, not on the remote server).
Regard,
André
On Saturday 11 November 2017 22:43:01 andre_debian@numericable.fr wrote:
On Saturday 11 November 2017 21:00:02 wofgdkncxojef@gmail.com wrote:
On Saturday 11 November 2017 20:37:27 andre_debian@numericable.fr wrote:
On Saturday 11 November 2017 19:30:27 deloptes wrote:
andre_debian@numericable.fr wrote:
No answer, so I repeat my question : Why I can modify a .PHP file directly on a remote server via sftp with Konqueror, but I cannot with a .JSP file ? (download, modification on my computer, upload). The both are text files.
sorry that you did not get an answer in expected time frame. I guess no one had the time to look into the code or the application itself or didn't experience this issue. I was just able to create and modify test.jsp on the server with kedit and kate. Which editor are you using - to me it sounds like associated with the editor. Check what is jsp associated with or try right mouse click and open with.
It's what i did "assocation of files" : *.jsp editor kedit. With konqueror, I click on the file, automatically open with kedit, but no result as I wrote.
can you edit it wit nano ? :
Thanks for your answers.
nano is not an graphic editor as kedit or kwrite, so, not practical.
It's for testing... If that doesn't work, the problem is elsewere...
can you open the file from inside kedit?
On Saturday 11 November 2017 23:10:18 wofgdkncxojef@gmail.com wrote:
On Saturday 11 November 2017 22:43:01 andre_debian@numericable.fr wrote:
On Saturday 11 November 2017 21:00:02 wofgdkncxojef@gmail.com wrote:
On Saturday 11 November 2017 20:37:27 andre_debian@numericable.fr wrote:
On Saturday 11 November 2017 19:30:27 deloptes wrote:
andre_debian@numericable.fr wrote:
No answer, so I repeat my question : Why I can modify a .PHP file directly on a remote server via sftp with Konqueror, but I cannot with a .JSP file ? (download, modification on my computer, upload). The both are text files.
sorry that you did not get an answer in expected time frame. I guess no one had the time to look into the code or the application itself or didn't experience this issue. I was just able to create and modify test.jsp on the server with kedit and kate. Which editor are you using - to me it sounds like associated with
the
editor. Check what is jsp associated with or try right mouse click and open with.
It's what i did "assocation of files" : *.jsp editor kedit. With konqueror, I click on the file, automatically open with kedit, but no result as I wrote.
can you edit it wit nano ? :
Thanks for your answers.
nano is not an graphic editor as kedit or kwrite, so, not practical.
It's for testing... If that doesn't work, the problem is elsewere... can you open the file from inside kedit?
Good idea :
Yes, I can open the files.jsp, from kedit with sftp:// on the remote server, modify them directly on the remote server without upload.
But, not from Konqueror, kedit open the files in a local folder.
So, why two different treatments .JSP and .PHP with Konqueror ?
André
On Saturday 11 November 2017 23:27:43 andre_debian@numericable.fr wrote:
On Saturday 11 November 2017 23:10:18 wofgdkncxojef@gmail.com wrote:
On Saturday 11 November 2017 22:43:01 andre_debian@numericable.fr wrote:
On Saturday 11 November 2017 21:00:02 wofgdkncxojef@gmail.com wrote:
On Saturday 11 November 2017 20:37:27 andre_debian@numericable.fr
wrote:
On Saturday 11 November 2017 19:30:27 deloptes wrote:
andre_debian@numericable.fr wrote: > No answer, so I repeat my question : > Why I can modify a .PHP file directly on a remote server via > sftp with Konqueror, > but I cannot with a .JSP file ? > (download, modification on my computer, upload). > The both are text files.
sorry that you did not get an answer in expected time frame. I guess no one had the time to look into the code or the application itself or didn't experience this issue. I was just able to create and modify test.jsp on the server with kedit and kate. Which editor are you using - to me it sounds like associated with
the
editor. Check what is jsp associated with or try right mouse click and open with.
It's what i did "assocation of files" : *.jsp editor kedit. With konqueror, I click on the file, automatically open with kedit, but no result as I wrote.
can you edit it wit nano ? :
Thanks for your answers.
nano is not an graphic editor as kedit or kwrite, so, not practical.
It's for testing... If that doesn't work, the problem is elsewere... can you open the file from inside kedit?
Good idea :
Yes, I can open the files.jsp, from kedit with sftp:// on the remote server, modify them directly on the remote server without upload.
But, not from Konqueror, kedit open the files in a local folder.
So, why two different treatments .JSP and .PHP with Konqueror ?
André
I don't have a server.... i can't trouble shout it. test these in the command line. They should narrow it down (kfmclient, is konqueror)
kedit <url to file> kfmclient exec <url to file> kfmclient exec <url to file> kedit
Am Samstag, 11. November 2017 schrieb andre_debian@numericable.fr:
On Saturday 11 November 2017 23:10:18 wofgdkncxojef@gmail.com wrote:
On Saturday 11 November 2017 22:43:01 andre_debian@numericable.fr wrote:
On Saturday 11 November 2017 21:00:02 wofgdkncxojef@gmail.com wrote:
On Saturday 11 November 2017 20:37:27 andre_debian@numericable.fr wrote:
On Saturday 11 November 2017 19:30:27 deloptes wrote:
andre_debian@numericable.fr wrote: > No answer, so I repeat my question : > Why I can modify a .PHP file directly on a remote server via sftp > with Konqueror, > but I cannot with a .JSP file ? > (download, modification on my computer, upload). > The both are text files.
sorry that you did not get an answer in expected time frame. I guess no one had the time to look into the code or the application itself or didn't experience this issue. I was just able to create and modify test.jsp on the server with kedit and kate. Which editor are you using - to me it sounds like associated with
the
editor. Check what is jsp associated with or try right mouse click and open with.
It's what i did "assocation of files" : *.jsp editor kedit. With konqueror, I click on the file, automatically open with kedit, but no result as I wrote.
can you edit it wit nano ? :
Thanks for your answers.
nano is not an graphic editor as kedit or kwrite, so, not practical.
It's for testing... If that doesn't work, the problem is elsewere... can you open the file from inside kedit?
Good idea :
Yes, I can open the files.jsp, from kedit with sftp:// on the remote server, modify them directly on the remote server without upload.
But, not from Konqueror, kedit open the files in a local folder.
So, why two different treatments .JSP and .PHP with Konqueror ?
André
I cannot duplicate your problem. So konqueror does a local copy of the file and then starts kedit with this local copy ... quite strange.
Could you create a new user and check if it happens with that account, too? If konqueror behaves as expected, then the problem is in your userconfig.
Nik
On Sunday 12 November 2017 08:53:18 Dr. Nikolaus Klepp wrote:
I cannot duplicate your problem. So konqueror does a local copy of the file and then starts kedit with this local copy ... quite strange. Could you create a new user and check if it happens with that account, too? If konqueror behaves as expected, then the problem is in your userconfig.
Yes, strange :
On my laptop, with exactly the same configuration, Jessie, TDE, "files association" in the menu... than my workstation PC, the files .PHP and .JSP can be modified directly on the remote server.
Regards,
André
Am Samstag 11 November 2017 schrieb andre_debian@numericable.fr:
Thanks for your answers.
nano is not an graphic editor as kedit or kwrite, so, not practical.
Or if you are at it: When you open the file in kedit, does the title say "sftp://server/..." or is it some local name ? Nik :
file.php : sftp://andre@ad/var/www/ (so, able to be modified directly from the remote server),
file.jsp : a local name : /home/andre/.trinity/tmp/krun/file.jsp (can be modified only on my computer, not on the remote server).
~/.trinity/tmp does not exist on my system.
I have ~/.trinity/tmp-hostname instead, which is a symlink to /tmp/tmp-username.
There I see the following files after having successfully created and edited three files from konqueror with kedit on the remote server:
27 2017-11-13 14:29 kdesktop_lock_lockfile 68 2017-11-13 14:48 kedit36IMvK.tmp 0 2017-11-13 14:46 kedit3mLdZy.tmp 0 2017-11-13 14:46 kedittcniZ0.tmp 0 2017-11-13 14:46 keditYZCbBb.tmp 520 2017-11-13 14:47 konqueror-crash-ajNlMO.log 0 2017-11-10 13:08 krusader1igmPB.tmp 0 2017-11-06 13:28 krusader9on97Z.tmp 0 2017-11-07 15:55 krusaderZcrD9O.tmp
The konqueror crash log seems to report about opened and closed connections to the remote server.
Hope this helps.
Regards, Stefan
andre_debian@numericable.fr wrote:
On Saturday 11 November 2017 19:30:27 deloptes wrote:
Hi,
It's what i did "assocation of files" : *.jsp editor kedit. With konqueror, I click on the file, automatically open with kedit, but no result as I wrote.
Ah ok,. some editors are not writing until closed. Can you try same with kate? Or try kedit with closing after edit - file should upload - just a guess - I am tired of looking into code at end of the week :)
If it does not help open a bug, so that someone can follow up.
regards