Run Configuration: Remote Web Site
If you select Run As: Remote Web Site in the Run Configuration panel, FTP/SFTP options appear.
NetBeans provides basic support for FTP/SFTP, sufficient for a lone developer to work on
a simple project. If you are working on a complicated project or with multiple developers,
you should use a version control system. NetBeans IDE supports a number of version control
systems and other collaborative development tools. If you must use FTP/SFTP with a complicated project, consider
using the IDE in combination with a full-featured FTP client, and editing the PHP project
in the IDE as a local web site.
Remote Web Site Options
- Project URL: By default, this is http://localhost/ + the path to the copy of your project sources
that is in your web server's public folder. You can change the URL if you have a different path mapped to your server.
- Index File: By default, this is index.php.
- Browse... Click to browse your project files for a
different index file.
- Arguments: Arguments for running the index file. For example, debug=true.
- Remote Connection: Select which remote connection to use. To add
or edit a remote connection, click Manage.
- Upload Directory: Directory to contain your project. The Upload Directory
is relative to the initial directory you specified when you set up the connection.
If you do not specify an Upload Directory, your project will be uploaded to the
initial directory. You must begin the Upload Directory with a forward slash, /.
The full upload path appears below the Upload Directory field.
- Upload Files: Select when to upload your files:
- On Run: Source files are uploaded to the server when you run the project.
- On Save: Every change (create, edit, rename, delete) is
immediately propagated to your remote server. If the operation
takes more than 1 second, a progress bar is shown.
- Manually: Files are never uploaded automatically. You must use
the IDE's manual upload function.
- Preserve Remote File Permissions. Select this if you only want remote file permissions
to be preserved.
- Upload Files Directly. Select this to upload files directly instead of creating
temporary files and uploading those. Selecting this speeds up uploading but is less safe.
- Advanced. (Only in Project Properties, not in New PHP Project wizard.)
Click this button if you use remote debugging or symbolic links.
A dialog opens in which you set path mapping.
Legal Notices