home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / infosyst / gopher / 1725 < prev    next >
Encoding:
Text File  |  1992-12-22  |  2.4 KB  |  50 lines

  1. Newsgroups: comp.infosystems.gopher
  2. Path: sparky!uunet!think.com!sdd.hp.com!ux1.cso.uiuc.edu!tuchman
  3. From: tuchman@ux1.cso.uiuc.edu (Allan Tuchman)
  4. Subject: Re: (Q) XGopher 1.2 WAIS gate and ftp image files
  5. Message-ID: <Bzootx.4B3@ux1.cso.uiuc.edu>
  6. Organization: University of Illinois at Urbana
  7. References: <1992Dec22.054050.1@fnalo.fnal.gov>
  8. Date: Tue, 22 Dec 1992 23:20:06 GMT
  9. Lines: 39
  10.  
  11. In <1992Dec22.054050.1@fnalo.fnal.gov> gwatts@fnalo.fnal.gov writes:
  12.  
  13. >1) Image files from ftp.  I can't fool gopher into displaying these thing.
  14. >I can path to a number of directories that have gif files via
  15. >the ftp interface.  The files are in binary format and are gifs (I can use
  16. >the same xloadimage command that xgopher does to display these images), but,
  17. >of course, they don't show up as gifs in xgopher.  So, for experiment, I tried
  18. >to use the Enter Gopher Item menu item (in "Other Commands") and set file type
  19. >to "I" and filled in the rest of the info (I got the rest of the info from the
  20. >Info about selection" button) and clicked "process".  xloadimage fails with
  21. >unknown image type.  My guess is the ftp that xgopher used was not binary. :(
  22. >Is there a way to force it?  Better yet, is there a way to display those
  23. >images with out all that work (click the left mouse button, get a pop-up
  24. >menu with "Get as Image" and "Get as Text" and "Get as Directory", etc. etc.)?
  25.  
  26. Gordon,
  27.  
  28. Actually, Xgopher does not itself do the ftp (no clients do that I know of).
  29. It is the server that performs the ftp.
  30.  
  31. For ftp-ing files, the server looks at their extension and if it is one
  32. of a certain set, assigns a best-guess gopher item type to the file.
  33. Any ".gif" file is usually identified by the server as type 'I', and
  34. thus known to Xgopher as an image type.  If you are doing the ftp
  35. through an old server it may not be smart about images -- try going
  36. through a server that you suspect is current (e.g., umn!).
  37.  
  38. And, you definitely SHOULD be able to fool Xgopher into things!  It
  39. is a feature that you can enter any item type you want on the "Enter
  40. Gopher Item" panel and try different ways to access data.  This is 
  41. actually one way to fool the server indirectly also (for ftp's), since
  42. its type assignment is just best-guess as I mentioned above.
  43.  
  44. -Allan
  45. -- 
  46. -Allan Tuchman    University of Illinois at Urbana-Champaign (UIUC)
  47.           Computing and Communications Services Office (CCSO)
  48.           phone: (217) 244-0048
  49. a-tuchman@uiuc.edu   -or-  tuchman@ux1.cso.uiuc.edu
  50.