Is their Automatic command to send a JPG file using FTP

Jerry McAllister jerrymc at msu.edu
Wed Jan 27 23:30:45 UTC 2010


On Wed, Jan 27, 2010 at 02:08:40PM -0800, Dixit, Viraj 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

Sounds like you might want to learn about  rsync.   It is in
the ports, probably //usr/ports/net/rsync

It will work unattended if you sent up public/private key SSH.

////jerry



> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"


More information about the freebsd-questions mailing list