Skip to Content.
Sympa Menu

baslinux - Re: [BL] FTP was: (pure-ftpd pppd passwd)

baslinux AT lists.ibiblio.org

Subject: Baslinux mailing list

List archive

Chronological Thread  
  • From: Lee Forrest <lforrestster AT gmail.com>
  • To: BasicLinux List <baslinux AT lists.ibiblio.org>
  • Subject: Re: [BL] FTP was: (pure-ftpd pppd passwd)
  • Date: Sun, 31 Dec 2006 20:15:08 +0000

On Mon, Jan 01, 2007 at 05:04:30PM +1300, 3aoo-cvfd AT dea.spamcon.org wrote:
> Lee Forrest wrote:
> >
> > ~/<#>wget ftp://ftp.slackware.com/pub/slackware/
> > Connecting to ftp.slackware.com[207.173.172.131]:21
> > wget: RETR: /pub/slackware/: Not a regular file
>
> Sorry about that. When I tested it (just before sending
> my message), I did a HTTP query (which worked) instead of
> a FTP query (which doesn't).
>
> FTP query:
> --------------------------------------------------------
> <$>wget ftp://ftp.nluug.nl/pub/os/Linux/distr/slackware/
> Connecting to ftp.nluug.nl[192.87.102.36]:21
> wget: RETR: Failed to open file.
> --------------------------------------------------------
>
> HTTP query:
> ----------------------------------------------------------
> <$>wget http://ftp.nluug.nl/pub/os/Linux/distr/slackware/
> Connecting to ftp.nluug.nl[192.87.102.36]:80
> index.html 100% |********************************| 3290
> ----------------------------------------------------------
>
> > it doesn't seem to allow one to find out what's
> > available on the server.
>
> In most cases it is possible to get around this
> by putting http:// instead of ftp://
>
> It appears that the BL3 wget automatically
> does a RETR when it processes ftp://
>
> This doesn't happen when it processes http://

Okay. What I'll do is reboot to debian, run tethereal (packet
logger) and then ncftp with the LIST command ("ls" or "dir" on
the ncftp commandline) and then use packet logs as a template and
try to write a netcat script that will do the job.

Shouldn't be any more difficult than POP or SMTP, which I've done
with netcat/sh.

Thanks, Steven, for clearing that up, and the pidof thing, too.

Lee
--
The new year begins in the Spring, not the middle of Winter.
The new day begins at dawn, not in the middle of the night.





Archive powered by MHonArc 2.6.24.

Top of Page