home *** CD-ROM | disk | FTP | other *** search
- 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
- From: adelman@TGV.COM (Kenneth Adelman)
- Newsgroups: vmsnet.networks.tcp-ip.multinet
- Subject: Re: Upload directory for anonymous ftp?
- Message-ID: <930108082128.208004dd@TGV.COM>
- Date: Fri, 8 Jan 93 08:21:28 PST
- Organization: Info-Multinet<==>Vmsnet.Networks.Tcp-Ip.Multinet Gateway
- X-Gateway-Source-Info: Mailing List
- Lines: 24
-
- > Is it possible to create an upload directory for anonymous ftp?
-
- Yes. Take a look at the DCL in MULTINET:FTP_SERVER.COM, which,
- when the username is given as ANONYMOUS adds a /ACCESS=NOWRITE
- qualifier.
-
- What we do here is have an "unload" directory that requires a
- special ANONYMOUS password to access. If you comment out the
- $ MULTINET FTP/SERVER/GET_REMOTE_INFO command, the logical name
- MULTINET_ANONYMOUS_PASSWORD will get defined as the password the
- user gave. Then you can do something like:
-
- $ MultiNet FTP/Server/Get_Remote_Info
-
- $ If Username .Eqs. "ANONYMOUS"
- $ Then
- $ If F$Edit(F$TrnLNM("MULTINET_ANONYMOUS_PASSWORD","UPCASE,COLLAPSE") -
- .Eqs. "UPLOAD"
- $ Then
- $ FTPOptions = "/Directory=Users:[Incoming]"
- $ RestrictOptions = ""
- $ Endif
-
- Ken
-