AFP Engage! User's Guide

AFP URLs

 

This chapter discusses the syntax of AFP URLs. AFP stands for Apple Filing Protocol, which is the protocol used by AppleShare and compatible servers. AFP URLs are similar to HTTP and FTP URLs, but are more general, since with AppleShare IP and ShareWay IP, AFP-based servers (AppleShare servers) can be accessed over both AppleTalk and TCP/IP. There are thus two forms of AFP URLs, one for TCP/IP and one for AppleTalk. Open Door Networks maintains a Web page which can assist you in generating AFP URLs. This page can be accessed through the AFP Engage! home page at http://www.opendoor.com/asip/afpengage.html.

 

AFP over TCP/IP

A URL specifying an AFP server which is accessible over TCP/IP will in most cases look like:

afp://server-name/volume-name/path

The fields are as follows:

The above type of URL indicates guest access to an AFP server on the default AFP port number (548). Just as with HTTP and FTP URLs, there are also additional optional fields which can be specified under certain conditions. The general form of an AFP URL over TCP thus looks like:

afp://user;AUTH=authType:password@server-name:port/volume-name/path

The additional fields are:

NOTE: Many AFP servers do not support AFP over TCP/IP. If your AFP server does not support AFP over TCP/IP, you can add this capability through Open Door's ShareWay IP product.

 

AFP over AppleTalk

A URL specifying an AFP server which is accessible over AppleTalk will in most cases look like:

afp:/at/server-name/volume-name/path

The fields are as follows:

The above type of URL indicates guest access to an AFP server in the same AppleTalk zone as the user's machine. There are also additional optional fields which can be specified under certain conditions. The general form of an AFP URL over AppleTalk thus looks like:

afp:/at/user;AUTH=authType:password@server-name:zone/volume-name/path

The additional fields are:

Special characters in AFP URLs

AppleTalk names and zones, and Macintosh volume, folder and file names often contain characters not normally found in URLs. These characters include spaces, slashes and high-bit ASCII characters (such as those used for international characters). AFP URLs should encode these special characters using the %xx construct (for instance, %20 for space). In many cases Macintosh browsers will understand URLs which contain special characters, but it is especially important to encode slashes (%2F) which otherwise will be used as directory delimiters.


Back to Table of Contents
Back to Using AFP Engage!
Forward to How AFP Engage! Works