Summ: Cancel: Command line passive ftp

From: Mike Grau <m.grau_at_kcc.state.ks.us>
Date: Tue, 03 Nov 1998 11:17:44 -0600

Thanks to:
Peter Prymmer, Sean O'Connell, Gerhard Nolte, Gary Gladney

Sorry for the late summary. Suggestions for command line anonymous-like
FTP are listed below. I tried ncftp and perl LWP. They worked great
everywhere on the planet except the site where I was trying to get data
from. They recently installed a firewall and following their
instructions was still not able to retrieve to data. Odd that ncftp
detected their server as not being able to use passive FTP. Ended using
perl LWP::Useragent, HTTP::Request and HTTP::Response and getting the
data with a browser HTTP request from their web site. (Odd too that a
browser FTP request like

$req = HTTP::Request->new(GET =>
'ftp://anonymous:passwd_at_the.site/path/file');

also just hangs.)
-------------------------------------------
>>>ncftp:
   http://www.ncftp.com/

>>>Tcl has the Expect extension by Don Libes:
   http://www.scriptics.com/

>>>There is also an Expect.pm perl module:
   http://www.cpan.org/authors/id/AUSCHUTZ/

>>>The LWP modules for perl, as in
 perl -MLWP::Simple -e
'getprint("ftp://machine.your.domain/path/to/file")' > file

available from:
  http://www.cpan.org/authors/id/GAAS/libwww-perl-5.40_01.tar.gz
and may require the installation of the Net::FTP module.

>>>batchftp.


>
> Please allow me to rephrase the previous post. Does anyone know of or
> care to recommend a command line ftp client for DU (3.2C or 4.0d) that
> does support passive ftp, or recommend an alternative method of
> automated anonymous-like file transfer.
>
> Thanks again -- Mike G
>
Received on Tue Nov 03 1998 - 17:19:50 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:38 NZDT