Netbeans FTP in PHP project on a Remote Web Server

If you have a server to upload/download your web application files and sync all the new changes with the online content, then you probably have to connect and mannually FTP your changed files to the server.

 

Netbeans FTP

 

Now if you are using Netbeans it can save you time and avoid mistakes of unsynced directories and files. This tutorial is for PHP application running on Netbeans 11.1 (if you are running older or newer version of Netbeans the setting probably will be the same). Furthermore this is a tutorial for non-GIT repository, so if you are using GIT and want to FTP your files on the server you should consider using another software such as GIT-FTP (you can download it from here) or wait until I post the guidelines of how you can combine FTP with GIT in NetBeans.

 

FTP new PHP project

  1. On the 3rd step on the “New PHP project” wizard (“Run Configuration“) select the 3rd option on Run As “Remote Web Site (FTP, SFTP)”
  2. Select the 3rd option on Run As “Remote Web Site (FTP, SFTP)”
  3. Below you can set up a new FTP connection (from the existing dropdown list or create new from manage)
  4. Also you can select the directory on the live site that your files will be saved
  5. Finaly you can select when to upload the edited files: on save, manually or on run

 

FTP on existing PHP project

  1. On properties of project click the menu “Run Configuration
  2. Select the 3rd option on Run As “Remote Web Site (FTP, SFTP)”
  3. Below you can set up a new FTP connection (from the existing dropdown list or create new from manage)
  4. Also you can select the directory on the live site that your files will be saved
  5. Finaly you can select when to upload the edited files: on save, manually or on run