Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Jul 1999 12:37:37 -0500 (CDT)
From:      Corey Brune <corey@cpsgroup.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: automated ftp scripting
Message-ID:  <Pine.BSF.4.10.9907121233040.1078-100000@cbrune.cpsgroup.com>
In-Reply-To: <2842.990710@enteract.com>

next in thread | previous in thread | raw e-mail | index | archive | help

PERL!!!! Get the NET::Ftp module from www.CPAN.org.
The script will look something like:
#!/usr/bin/perl
use Net::FTP;
$ftp = Net::FTP->new("ftpservername");
$ftp->login("username","password");
$ftp->put("file to put"); # of course you can use any command here.
$ftp->quit;

If anything looks strange, run the command perldoc Net::FTP.

Corey

On Sat, 10 Jul 1999, Chris Silva wrote:

> Hi!
> 
>    Can someone recommend how I can automate ftp'ing a file?
>   
> 
> Best regards,
>  Chris                          mailto:bitsurfr@enteract.com
> 
> 
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
> 



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.9907121233040.1078-100000>