
Now you need not to login to remote server every-time you need to update the files.NetBeans is the most popular IDE for development on Linux systems. You can upload or download file explicitly by right-clicking the source folder in the project and then select ‘upload’ or ‘download’ option. This means every time you save the files in your IDE they are updated at the remote server.Įvery time a new file is created or deleted from IDE, the same change is reflected at the remote server. In the main pane, see for text field ‘Upload Files’. It will open the project properties window.

Right click on the project name in the left pane of IDE. It may take some time depending on the size of the project. On clicking the finish button, it will download all the files from the remote server to the local server. Check all if you want to download all the files. Now on the confirmation screen, it will ask for the files to download from the remote server. This is where your code will be saved when you will press contr+s on your screen. In Project URL type Make sure your upload directory is correct. It may be ‘/var/If everything is good then the connection will be successful. In the ‘Initial Directory field’ type the absolute path of the directory where your code is residing on the remote server. Fill the details like IP address, Username, and password. Click ok.Ī new screen will appear (see screenshot). On the ‘Remote connection’ screen click on the ‘Manage’ button.Įnter the connection name and select the connection type as ‘SFTP’. On the ‘Name and location’ screen, write project name and click next. Select the ‘PHP application from remote server’ in the Projects list. $ scp path-of-file-at-local-machine third approach (Recommended for Large projects) : Upload the file back to the remote server.$ scp Edit the file using your favorite IDE/Editor. Copy the file from the remote server to your local machine.Edit the code using vi/emac/nano editor.

$ ssh Navigate to the directory where your source file is placed You wrote some piece of code and placed it on a remote server.
