Chapter 3 Working with Dynamo Web Sites


Importing and exporting documents

PowerDynamo manages Web documents using a hierarchical motif, just like a file system. You can make folders, add documents to a folder, and move or copy documents from one folder to another.

You can also export documents to a file, or import a file into the Web site database. This section describes how to import and export files.

There are several reasons why you may want to move documents between your Web site database and the file system:

Importing documents into a Web site

You can import one or more files or folders into a Web site. In this section we describe how to import a set of files.

Steps To import a set of files into a Web site:

  1. From Sybase Central, connect to your Web site.

  2. Open the Web site so that a folder into which you wish to import the files is displayed. For example, you may wish to import documentation files into a folder named doc.

  3. Right-click on the folder, and select Import from the popup menu. The Import Files window is displayed.

  4. Use the browse options or enter a file name or a directory name in the File text box. Click Add to add this to the Import List.

  5. Add other file names or directory names as required. Then click OK to import the files.


Note  

Dynamo storage efficiency
The disk space taken up in a Dynamo database file may not be the same as the space the files take up on disk. Although storage efficiency depends on the particular files you are importing, storing data in Dynamo generally takes less space than storing the same information on disk.

Exporting documents from a Web site

You can export a document from a Web site as a file or as a folder.

When you export a template or script, the instructions are not executed; the exported file has the same content as the document stored in the database.

Steps To export a document from a Web site:

  1. Use Sybase Central to connect to your Web site.

  2. Open the Web site so that a document you wish to export to disk is displayed.

  3. Right-click on the document, and select Export from the menu. The Export Files window is displayed.

  4. Enter the location to which you want to export the document and click OK.


 


Copyright © 1999 Sybase, Inc. All rights reserved.