Is their Automatic command to send a JPG file using FTP

J65nko j65nko at gmail.com
Thu Jan 28 00:54:03 UTC 2010


On Wed, Jan 27, 2010 at 11:08 PM, Dixit, Viraj
<Viraj.Dixit at cityofpaloalto.org> wrote:
> Hi,
> I am looking to see if there a command or a script In BSD Os that will
> allow me to ftp to a server automatically and get a file from another
> server. User name and passwd will be already in the script so it will
> run ftp and download a file or a JPG from that server. Like in Linux OS
> there is a command using .netrc file and you can script that file and
> will automatically do what is in the file at time interval that you
> want.  Thanks,
> VJ

Yes, FreeBSD ftp supports .netrc files.

I posted a guide to download a FreeBSD release with a .netrc file at
http://www.daemonforums.org/showthread.php?t=4212


More information about the freebsd-questions mailing list