0
Some time you may need to edit your server files with SFTP, for edititng with SFTP you need a SFTP client. My favorite SFTP client is WinSCP, you can download WinSCP from their official website or direct download. This way you will not need to know any SSH coding, you can edit your system files with GUI mode. After download and install run WinSCP, you will see login window.

WiSCP Login 



WiSCP Login[/caption] On login window input all information. Host Name: you can use your server host name but I suggest you to use your server IP, User Name: input your user name here, remember if you want to edit system files then you have to login with "root" user, Password: Input your password here and press login button. For fist time login you may see a Server Key window just press Update button on this window. After login you will see your root directory


WinSCP Root Folder 

WinSCP Root Folder[/caption] Now you can go your targeted directory using UP, for example I am editing php.ini file so first I click on up then I open /etc folder (php.ini files location) and find php.ini file, now right click on php.ini file and select Edit from pop up.

WinSCP File Editing 

WinSCP File Editing[/caption] After click Edit a new window will open, now you can edit anything you want, when editing completed just click on save button located top right of WinSCP window.


WinSCP Editing Window 


Congratulation.. now you know how to edit files with SFTP.

Post a Comment

 
Top