Newsgroups: comp.sys.mac.comm
Path: utzoo!utgpu!cunews!bnrgate!bwdls61.bnr.ca!bnr.ca!bschmidt
From: bschmidt@bnr.ca (Ben Schmidt)
Subject: Re: TelNet/FTP Transfers with two Hard Disks?
Message-ID: <1990Dec10.133056.6356@bwdls61.bnr.ca>
Sender: usenet@bwdls61.bnr.ca (Use Net)
References:<5326@crystal9.UUCP> <5332@crystal9.UUCP>
Organization: Bell-Northern Research
Distribution: comp
Date: Mon, 10 Dec 90 13:30:56 GMT

In article <5332@crystal9.UUCP> derosa@motcid.UUCP (John DeRosa) writes:
> derosa@motcid.UUCP (John DeRosa) writes:
> >ftp enabled), I can only "see" the hard disk that the TelNet
> >program is resident on.  I cannot determine a way to "cd"
> >to the other hard drive.
> 
> >Is this possible at all?  I have tried using all the flavors
> >of TelNet V2.3, i.e. with and without MacTCP and the BYU
> >version (which has host ftp built in)  with and without MacTCP.
> 
> >Configuration: IIci, 8 megs, internal 80meg, external 160meg.
> 
> Well, here is the answer...
> 
> =========================================================================
===
> I believe theat telnet treats the desktop as root and all disks as 
directories
> one level below. So to cd to a disk named Disk 1, you would do
> cd "/Disk 1"
> The "" are needed in case you have spaces in the disk name.
> -- 

The ability to change volumes through FTP is a function of the particular 
FTP server implementation running on the target Mac.  As Marek points out, 
with NCSA 2.3, 2.4 (among others) FTP servers,
cd "/volume name" works, and so does
cd ":volume name", where quotes are unnecessary if the volume name has no
                   spaces, and the volume name is case insensitive.

I use this technique to FTP files to or from an AppleShare volume by 
FTPing through a dedicated Mac which has these AppleShare volumes mounted.
(Why not just run an FTP server on the AppleShare volume, you ask?  Well, AppleShare get's confused (e.g. crashes) when another process creates a new file o a volume, while it's publishing that same volume.   :^(

Ben Schmidt     Bell-Northern Research, Ltd.   Ph: (613) 763-3906
Information     P.O. Box 3511, Station C       FAX:(613) 763-3283
Technology      Ottawa Canada K1Y 4H7          bschmidt@bnr.ca
