home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / infosyst / gopher / 1264 < prev    next >
Encoding:
Internet Message Format  |  1992-11-19  |  2.2 KB

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