need example of ftp command

fbsd_user fbsd_user at a1poweruser.com
Sun Dec 21 10:20:07 PST 2003


Need example of ftp command to login anonymous and download selected
file'

I can not get this to work

#! /bin/sh
cd /usr/packages/

path="pub/FreeBSD/ports/i386/packages-4.9-release/mail"

ftp -a 'ftp://ftp2.FreeBSD.org/$path/qpopper-4.0.5_1'


using native interactive ftp, I can drill down to this
directory and get the file, so I know it's there and that's
the correct name, but I can not get the ftp
command in my script to work. Get error (not found or no access).

Please help.



More information about the freebsd-questions mailing list