[an error occurred while processing this directive] Syntax for use of FTP within a URL
This page provides the syntax for creating a hotlink to a file using the FTP protocol.
Templates<A HREF="ftp://ftp.site.com/dirname/file.txt">
To create a link to a file stored in the home
directory of your WebCom account, you would specify the link as:
<A HREF="ftp://ftp.webcom.com/~webcom/pub[n]/userid/file.txt">
Keep in mind that all links, even FTP links are case-sensitive. In the above example, if the file name was "file.txt" but "File.txt" was used in the link, the link would not work.
To create a link to a directory under your home directory, you would
specify the link as:
<A HREF="ftp://ftp.webcom.com/~webcom/pub[n]/userid/dirname/">
Creating a link to a directory causes a list of files in the directory to be displayed when the hotlink is clicked upon. Clicking on an individual filename will then cause it to be downloaded.
For example: WebCom
Graphics Directory
<A HREF="ftp://ftp.webcom.com/~webcom/pub4/webcom/www/graphics/">WebCom
Graphics Directory</A>
Note: the files, and the directories they are stored under, must have access permissions that allow access to the file by the anonymous user ("public read"). Otherwise, accessors will receive an error message saying that the "file does not exist".
[an error occurred while processing this directive]