In article <1gs6ltk.1f212ru1i360e8N%matt@tidbits.com>,
matt.TakeThisOut@tidbits.com (matt neuburg) wrote:
> Robert <rccharles.TakeThisOut@my-deja.com> wrote:
>
> > I am using the terminal in MacOS 10.2.6. I have a saved a term file
> > which I use to invoke the ftp command. The command string is:
> > ftp myidn.TakeThisOut@www.mysite.com
> >
> > What I'd like to be able to automate is the setting of the remote path
> > and the local path. I have tired:
> > ftp myidn.TakeThisOut@www.mysite.com:directory/subdirectory
>
> Try using a regular FTP URL:
>
<font color=purple> > ftp <a style='text-decoration: underline;' href="ftp://myidn@www.mysite.com/directory/subdirectory</font" target="_blank">ftp://myidn@www.mysite.com/directory/subdirectory</font</a>>
>
> m.
Or write a shell script which includes any FTP commands you like, for
example:
sftp <a style='text-decoration: underline;' href="http://www.mysite.com" target="_blank">www.mysite.com</a> <<EOF
cd <wherever you want on the remote machine>
lcd <wherever you want on the local machine
get and put statements as you choose
....
EOF
--
Tom Stiller
PGP fingerprint = 5108 DDB2 9761 EDE5 E7E3
7BDA 71ED 6496 99C0 C7CF<!-- ~MESSAGE_AFTER~ -->
>> Stay informed about: terminal ftp