# Main Window

The Main screen provides most of the functionality required to use PubAssist FTP.

## Areas

The main window is divided into three major areas:

Profile List

The Profile List area provides access to the existing profiles for selection and maintenance.

- View List: Toggle between Details and List mode. The default view can be set in the Options Dialog.
- Delete Selected: Deletes the selected profile. Only one profile can be selected at a time.
- Delete All: Deletes all profiles. For security, a message appears asking you to confirm.

Profile List

The Profile area allows you to create a new profile as well as maintain the selected profile.

- Profile Name: The name of the new or selected profile.
- Source Location: The location of the files transformed in oXygen. This is typically the same location as the Output directory in oXygen's Edit Scenario dialog.
  Note:

  The recommended location for oXygen output is:

  D:\Users\&lt;user.name&gt;\Vasont\out\${cfne}

  Click the Browse button to the immediate right of this field to browse for the desired folder.
- FTP staging folder: The location the files will be stored within the InfoDev Staging server. Click the Browse button to the immediate right of this field to browse for the desired folder.
- FTP production folder: The location the files will be stored within the InfoDev Production server. Click the Browse button to the immediate right of this field to browse for the desired folder.
- Add Profile: Creates a new profile containing the information provided in the four fields. All fields must contain information to create a new profile.
- Update Profile: Allows you to update the currently selected profile with the information provided in the four fields.
- ...and backup: When selected, a browse dialog is displayed allowing you to backup the Profiles file (profiles_paf.xml) to a desired location. This is helpful to ensure your profiles will not have to be recreated. You can set the default to checked or unchecked in the Options Dialog.

Publish

The Publish area provides features for publishing your selected profile content to one of the InfoDev servers.

- Staging: Select this option to publish to the staging server. The content will be published to the location displayed in the profile's FTP staging folder.
- Production: Select this option to publish to the production server. The content will be published to the location displayed in the profile's FTP production folder.
- Publish: Click this button to begin the publishing process.
- Staging to Prod: Click this button to begin the process of copying files from the Profile's staging folder to its production folder.