TITLE
    Personal Web Sharing: Uploading Files To The Host
Article ID:
Created:
Modified:
24504
7/2/98
7/23/98

TOPIC

    We would like to setup the Personal Web Sharing host to allow clients to upload data to the host using a web browser. I have found instructions for how to set up the host, but not the client. Is a CGI necessary to perform this function?


DISCUSSION

    Personal Web Sharing uses the HTTP protocol to upload files, rather than using FTP or Telnet as do some other programs.

    The following steps will allow a client using Netscape Communicator 4.x to upload pages to the Personal Web Sharing host.

    Set up on the Personal Web Server host: (steps 1 - 8 were the same from the "Using Personal Web Sharing.html"). Step 0. is important!

    0. Open the Web Sharing control panel, you must select "Use File Sharing to control user access"
    1. With the Web Sharing control panel open and choose Preferences form the Edit menu.
    2. Click the Options tab (if necessary).
    3. Click to put an X in the box labeled "Allow guests with write access to replace files in the Web folder".
    4. Click Save.
    5. Make sure file sharing is turned on in the File Sharing control panel.
    6. Make sure that he Web server folder is shared (select the folder, then choose Sharing from the File menu).
    7. Use the User & Groups control panel to turn on Guest Access (open the Guest icon, choose Sharing in the pop-up menu, and click to put an X in the box labeled "Allow guests to connect to this computer").
    8. Set access privileges for the server folder (select it, then choose Sharing from the File menu and use the pop-up menu to give write access).

    On a client running Netscape Communicator

    Step 1
    Open or create a page from the Communicator's File menu.

    Step 2
    After editing or creating the page, select "Publish" from the File menu.

    Step 3
    Enter the location where the file to be published using HTTP. For example:

    http://xx.xxx.xx.xxx/test.html

    Note that you don't need to specify the "root" level of the PWS folder (e.g. Web Pages) on the location path.

    Step 4
    Click Publish.

Document Information
Product Area: Mac OS System Software
Category: General OS
Sub Category: General Topics

Copyright © 2000 Apple Computer, Inc. All rights reserved.