[KLUG Members] FTP code

members@kalamazoolinux.org members@kalamazoolinux.org
Mon, 15 Oct 2001 20:44:45 +0200 (MEST)


Perl is super-swell for doing this.  I made a perl program that ftp'ed to a
server and updated my IP address, so I could always have it (I had dial-up).

However, I would recommend, if you are going to write a program, to use scp
instead of ftp, since with ftp, you have your "cheese in the wind", with
passwords being sent in plaintext all the live long day.

Anyway, perl can do this with Net::FTP in no time flat.  I'm sure there are
scripts lying around the 'net just ready to be picked and edited.

Adam

> I need to write an application that will automatically FTP to servers.
> Scheduling a cron job won't do because I need to be able to handle the
> return codes from the FTP interpreter.  Does anyone know where I can find
> a
> sample piece of c/c++ or Java code?
> 
> Kind Regards,
> -Scott
> 
> _______________________________________________
> Members mailing list
> Members@kalamazoolinux.org
> 
> 

-- 
Adam Bultman

adam_bultman@bigfoot.com

Sent through GMX FreeMail - http://www.gmx.net