home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!munnari.oz.au!ariel.ucs.unimelb.EDU.AU!ucsvc.ucs.unimelb.edu.au!mits.com.au!myrddn.mits.com.au!alistair
- Newsgroups: vmsnet.networks.tcp-ip.multinet
- Subject: Summary: Upload directory for anonymous ftp?
- Message-ID: <1993Jan10.205521.1@myrddn.mits.com.au>
- From: alistair@myrddn.mits.com.au
- Date: 10 Jan 93 20:55:21 +1000
- References: <930108082128.208004dd@TGV.COM>
- Nntp-Posting-Host: myrddn
- Nntp-Posting-User: alistair
- Lines: 38
-
- I wrote:
- > Is it possible to create an upload directory for anonymous ftp?
-
-
- In article <930108082128.208004dd@TGV.COM>,
- adelman@TGV.COM (Kenneth Adelman) writes:
- > 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
-
- This is the solution I used (as supplied by Ehud Gavron).
-
- Thanks very much to Ehud Gavron, Ken Adelman, and Simon Hackett for
- their help.
-
- Thanks,
-
- Alistair Grant
-
- Internet: alistair@mits.com.au
- Alternate: alistair%mits.com.au@ucsvc.ucs.unimelb.edu.au
-