LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-09-2009, 01:53 PM   #1
BrajZore
Member
 
Registered: Sep 2007
Location: Vxj
Distribution: Slackware
Posts: 50

Rep: Reputation: 15
gFTP


Hi!

When I edit php-files in gFTP, I rightclick on the file and the file opens in Kate.

The problem is when I want to see the result of the saved php-file in the web-browser. Instead of just save the file and reload the browser(the file is being uploaded the at same time I save the file), I must save the file, close the file and then upload it to see the result.

How can I solve this problem? I just want to save the file and then reload the browser to see the result, instead of close the file etc etc.


Can anyone help me?
 
Old 08-09-2009, 04:55 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 24,190

Rep: Reputation: 7125Reputation: 7125Reputation: 7125Reputation: 7125Reputation: 7125Reputation: 7125Reputation: 7125Reputation: 7125Reputation: 7125Reputation: 7125Reputation: 7125
Quote:
Originally Posted by BrajZore View Post
Hi!

When I edit php-files in gFTP, I rightclick on the file and the file opens in Kate.

The problem is when I want to see the result of the saved php-file in the web-browser. Instead of just save the file and reload the browser(the file is being uploaded the at same time I save the file), I must save the file, close the file and then upload it to see the result.

How can I solve this problem? I just want to save the file and then reload the browser to see the result, instead of close the file etc etc.


Can anyone help me?
No, not with what you're doing. When you edit it, it's downloading the file locally. Then with kate (or whatever), editing that local file. The only way the changes can get back to the 'origin' server, is to re-upload it.

There are options, though. You could export the remote directory as an NFS or Samba share, then connect to it as you would any other network-attached drive. Fire up your editor, and edit it, since it'll be a 'local' file (that is, a file on a drive, attached to your local system), then.

Last edited by TB0ne; 08-10-2009 at 02:18 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
gFTP help swamprat SUSE / openSUSE 1 06-15-2007 04:02 PM
gFTP riluve Linux - Software 2 03-14-2005 01:58 AM
using gftp cchanana Linux - Newbie 2 01-14-2005 06:09 AM
gFTP Mahony Linux - Software 4 04-14-2004 04:02 PM
gFTP nautilus_1987 Linux - Software 5 11-29-2002 11:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:12 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration