From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96078728411653.tru64-unix-managers.marc@archive.invalid> From: Mike Grau Date: Tue, 03 Nov 1998 17:17:44 +0000 To: tru64-unix-managers Subject: Summ: Cancel: Command line passive ftp X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96078728411653 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@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 >