Remote Synchronization is a feature of PHP projects set to run as Remote Web Site, over FTP or SFTP. Remote Synchronization allows you to compare your local version of a project with the version on a server and to diff, upload, or download files so the local and remote versions of the project match. The Remote Synchronization dialog opens from the context menu (right click) of the Source Files folder of a PHP project.
The IDE can perform one of several operations when synchronizing a file. The table of operations shows which operation the IDE plans to perform during synchronization. In this section you can select which planned operations the table shows.
Element | Description |
---|---|
Download |
Download the remote version. Overwrite the local version if one exists. |
Upload |
Upload the local version to the server. Overwrite the remote version if one exists. |
No Operation |
Do not synchronize the file. |
Delete |
Delete both local and remote versions of the file. |
Click Check All to show all planned operations. Click Uncheck All to show no planned operations.
The table of operations shows warning icons for problems associated with operations. In this section you select which problem icons to display.
Element | Description |
---|---|
Warning |
Show warning icons. Warnings indicate problems that are not severe enough to prevent synchronization. |
Error |
Show error icons. Errors are problems severe enough to prevent synchronization. |
File Conflict |
File Conflict icons indicate that both the local and the remote version of the file changed since the last synchronization. |
File vs Directory Collision |
The path to a local file is the path to a directory on the server, or the reverse. For example, there's a local file called /my/file but on the server /my/file/ is a directory. |
Symbolic link |
File is only a symbolic link pointing to another file. |
Click Check All to show all warnings. Click Uncheck All to show no warnings.
In this table you can review and change operations that the IDE plans for files, on a per file basis.
The table contains the following columns, from left to right:
Element | Description |
---|---|
Problem icons |
An icon appears if the planned operation has a problem of a type selected in the Show Problems section. |
Remote path |
The path to the remote copy of the file from the project's root directory. |
Planned operation |
The operation planned for the file, if the operation type is selected in the Show Operations section. |
Local path |
The path to the local copy of the file from the project's root directory. |
Additional information appears at the bottom of the table for any rows you select. For example, if you select 4 rows, you see a summary of the operations and problems for those rows, such as "3 downloads, 0 uploads, 1 no-op, 0 deletions, 0 errors, 0 warnings." If you select a row and there is an error associated with the operation in that row, details about that error appear, such as "Error (FILE_NAME): Non-existing file cannot be updated."
In this table you can review and change operations that the IDE plans for files, on a per file basis.
The table contains the following columns, from left to right:
Element | Description |
---|---|
Diff |
Diff the local and remote versions of the selected file. Results of the diff appear in a new dialog. |
No operation |
Change the planned operation to "no-op." |
Download |
Change the planned operation to "Download remote version." |
Upload |
Change the planned operation to "Upload local version." |
Delete |
Change the planned operation to "Delete both local and remote versions." |
Reset |
Reset all changes to the operation. |
Tick this box to show a summary of synchronization operations before synchronization starts. Review the operations in the summary dialog. Click OK in the summary and the synchronization progress dialog opens.
Press this button to begin synchronization. The button is greyed out if there are any unresolved errors. If the Show Summary Before Start box is ticked, a summary of synchronization operations appears. Otherwise synchronization begins and the synchronization progress dialog opens.
Related Topics
Developing Applications with NetBeans IDE,
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. |