home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!cs.utexas.edu!bcm!lib!oac.hsc.uth.tmc.edu!snewton
- From: snewton@oac.hsc.uth.tmc.edu (Steven E. Newton)
- Newsgroups: comp.infosystems.gopher
- Subject: Re: Problems with ftp on HP gopher
- Message-ID: <7922@lib.tmc.edu>
- Date: 20 Nov 1992 14:10:11 GMT
- References: <6804@m1.cs.man.ac.uk>
- Sender: usenet@lib.tmc.edu
- Organization: UT Health Science Center Houston
- Lines: 50
- Nntp-Posting-Host: oac.hsc.uth.tmc.edu
-
- In article <6804@m1.cs.man.ac.uk> M.Whidby@mcc.ac.uk writes:
- >I am running a gopher server on an HP machine and can't do any ftp
- >transfers.
- [stuff deleted]
- >This seems to be more or less correct because when I run the server with
- >debugging on I see this:
- >
- >The full query was src.doc.ic.ac.uk@/
- >At this point host: src.doc.ic.ac.uk thing: /
- >220 puffin.doc.ic.ac.uk FTP server (Version 6.68 Fri Aug 21 23:39:26 BST 1992)
- >r
- >eady.
- >331 Guest login ok, send e-mail address as password.
- >230 Guest login ok, access restrictions apply.
- >Cleaning up /tmp/gftp11012
- >
- >The client just says 'Nothing available'. No directory listing or anything.
- >What am I doing wrong? The server is the 1.1 beta version. Could it be a
- >peculiarity of HP-UX?
-
- Funny, I'm having *EXACTLY* the same results with my tests.
-
- We have a 9000/750 running hp-ux 8.07. There is definitely something
- wrong with it, but looking at the code I can't see where the problem
- is. As far as I can tell, this bit of code in ftp.c, beginning at line
- 131 is where the problem is:
-
- /** Send password***/
- writestring(ftp_control, "PASS -gopher@");
- writestring(ftp_control, Zehostname);
- writestring(ftp_control, "\r\n");
-
- inputline[3] = '-';
- while (inputline[3] == '-') {
- readline(ftp_control, inputline, sizeof inputline);
- if (DEBUG) printf(inputline);
- }
-
-
- if (*inputline != '2')
- Abort(sockfd,inputline +2);
-
- Everything looks fine to me, can anyone see something I'm overlooking?
-
- Steve
- --
- + + + + + + + |snewton@oac.hsc.uth.tmc.edu
- I can hear you well, |Nobody else speaks for me,
- George Orwell. |and I speak for no one else.
- | + + + + +
-