Working with Remote Files
Support for remote development is tightly integrated with Studio, eliminating the need for complicated network configurations or additional applications to access remote files. Studio provides two ways to work with remote files:
- FTP -- Create, open, edit, and save files on a remote server using the File Transfer Protocol.
- RDS -- Remote Development Services -- Connect to a Cold Fusion Application Server to access files and databases via HTTP.
To work with remote files:
- Add FTP and RDS servers.
- Connect to the remote server.
Adding an FTP server
You add servers in the Remote Files tab in the Resources area.
To add an FTP server:
- Click the Remote Files Resource tab.
- Right-click in the file pane and select Add FTP Server.
- Complete the fields in the Configure FTP Server dialog:
- Description -- Required. The text that displays in the server list.
- Host Name -- Required. The server domain name, such as
www.allaire.com
or an IP address.
- Initial Directory -- Optional. The root directory of the FTP server.
- User Name -- Required. Your login name or "anonymous" for anonymous FTP servers.
- Password -- Optional. Password with user name.
- Root URL -- Optional. Root URL for link verification.
- Remote Port -- The port on the server used by the FTP server. Use the default unless specified by server administrator.
- Request Timeout -- Set a value for the amount of time Studio waits for a server connection to complete.
- Prompt for Password -- Check this box to require a user password at login.
- Use passive mode -- Required for servers that use passive connections.
- Assume UTC file times -- Check this box if the FTP server uses the UTC time format.
- Click OK to complete the dialog.
Note
To edit server settings, right-click on a server name in the Remote Server list and select Server Properties to open the Properties dialog.
To add an RDS server:
- Click the Remote Files tab.
- Right-click in the file list and select Add RDS Server.
- Complete the Remote Host fields in the Configure RDS Server dialog:
- Description -- Required. The name that appears in the server list.
- Host Name -- Required. The server domain name, such as
www.allaire.com
or an IP address.
- User Name -- Required if the server is password-protected. Open the CF Administrator Server page to edit the Studio password.
- Password -- Optional. If the server is password-protected you must use a password. Open the CF Administrator Server page to edit the Studio password.
- Port -- Required. The port on the server used by the Web server. Use default unless specified by server administrator.
- Use Secure Sockets Layer (SSL) -- Optional. Allows exchanges between Studio and the server to be encrypted via SSL.
- Complete the ColdFusion RDS Security fields:
- User Name -- Required if the server is password-protected. Open the CFAS Administrator Server page to edit or disable the Studio password.
- Password -- Optional. If the server is password-protected you must use a password. Open the CFAS Administrator Server page to edit or disable the Studio password.
- Click Prompt for Password to enable these entries.
- Click OK to complete the dialog.
Accessing a remote server
Once you've added a remote server connection, it is easy to open that server and work with the files.
To open files on a remote server:
- Click the Remote Files tab.
- Double-click on a server name or right-click and choose Connect.
- Double-click on drives and directories to locate files.
- Double-click on a file to open it in the editor. Remote files are indicated by a blue dot next to their names on the file name tab at the bottom of the editor window.
You can work with remote files just as you do with local ones. When you save files, changes are saved to the remote server.
To add a new file to a remote server:
- Open the file in the editor.
- Select File > Save Remote Copy.
- In the Remote Save dialog, double-click on the server, drive, and directory to open the directory where you can to save the file. You can right-click in the directory list to add a new directory.
- Enter a file name with a recognized Studio extension. Click the File Extensions tab of the Options > Settings dialog (F8) to check the current entries.
- Click Save.
To add new directories to a remote server:
- Click the Remote Files tab.
- Double-click on a server name or right-click and choose Connect.
- Double-click on drives and directories to locate files.
- Right-click in the file pane and choose New Folder.
- Enter a name for the new folder. The folder displays in the current directory.
AllaireDoc@allaire.com
Copyright © 1998, Allaire Corporation. All rights reserved.