From: mike ()
Date: 02/10/06
On 2/10/06, Paul Boniol <> wrote:
> Scott Carr wrote:
> > Why not just do the FTP from within PERL?
> > http://search.cpan.org/~gbarr/libnet-1.19/Net/FTP.pm
> >
> > Paul Boniol wrote:
> >
> >> I know there are a couple of ways to execute an external program with
> >> Perl, but what I know of is more like spawning external processes. Is
> >> there a way to run a command line tool "interactively" with Perl, so
> >> that it sees what the responses are, and can give it different
> >> commands based on the responses.
> >>
> >> In this particular case, I'd like to run ftp to transfer a file,
> >> verify there was no error, and then continue processing. If there
> >> were an error (like server unreachable, etc.) I'd do put out a warning
> >> and do something different (haven't thought out what yet...).
> >>
> >> Thanks,
> >> Paul
>
> I should have mentioned, the FTP client will be running on a Windows box
> that is hosted, managed and shared. I can request that modules be
> installed, but I can't just do it. It is likely that requested modules
> will be installed, but not guaranteed.
if you have control over your directories, there's no reason you can't
just put the appropriate modules in a "perllib" subdirectory and alter
your lib path with a "use lib" directive.
-mike
-- Send all requests to:Put your command in the SUBJECT of the message: "subscribe" or "unsubscribe" Quick unsubscribe: <mailto:
?Subject=unsubscribe> Mailing list archives may be found at: <http://www.nlug.org/mail/> ********************************************************************** This list is from your pals at NetCentral <http://www.netcentral.com/>
This archive was generated by hypermail 2.1.6 : 02/10/06 CST