home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / vmsnet / networks / tcpip / multinet / 2626 < prev    next >
Encoding:
Internet Message Format  |  1993-01-08  |  1.2 KB

  1. Path: sparky!uunet!spool.mu.edu!caen!malgudi.oar.net!zaphod.mps.ohio-state.edu!cs.utexas.edu!usc!news.service.uci.edu!unogate!mvb.saic.com!info-multinet
  2. From: adelman@TGV.COM (Kenneth Adelman)
  3. Newsgroups: vmsnet.networks.tcp-ip.multinet
  4. Subject: Re: Upload directory for anonymous ftp?
  5. Message-ID: <930108082128.208004dd@TGV.COM>
  6. Date: Fri, 8 Jan 93 08:21:28 PST
  7. Organization: Info-Multinet<==>Vmsnet.Networks.Tcp-Ip.Multinet Gateway
  8. X-Gateway-Source-Info: Mailing List
  9. Lines: 24
  10.  
  11. > Is it possible to create an upload directory for anonymous ftp?
  12.  
  13.     Yes. Take a look at the DCL in MULTINET:FTP_SERVER.COM, which,
  14. when the username is given as ANONYMOUS adds a /ACCESS=NOWRITE
  15. qualifier.
  16.  
  17.     What we do here is have an "unload" directory that requires a
  18. special ANONYMOUS password to access. If you comment out the
  19. $ MULTINET FTP/SERVER/GET_REMOTE_INFO command, the logical name
  20. MULTINET_ANONYMOUS_PASSWORD will get defined as the password the
  21. user gave. Then you can do something like:
  22.  
  23. $ MultiNet FTP/Server/Get_Remote_Info
  24.  
  25. $ If Username .Eqs. "ANONYMOUS"
  26. $ Then
  27. $   If F$Edit(F$TrnLNM("MULTINET_ANONYMOUS_PASSWORD","UPCASE,COLLAPSE") -
  28.        .Eqs. "UPLOAD"
  29. $   Then
  30. $      FTPOptions = "/Directory=Users:[Incoming]"
  31. $      RestrictOptions = ""
  32. $   Endif
  33.  
  34.                                 Ken
  35.