/* * All of the provide_access verbs after the first have been commented out. * The first verb provides full read/write access to the cm2medic user. * * If you do not change this file to specify a provide_access verb, * no files will be accessible through the AFTPD server except to the * cm2medic user. (You will get an "Access denied" message) * */ provide_access users(cm2medic) directory(*) permissions(read write) ; /* The following is an example of providing a user "johndoe" access to the files in d:\myfiles (and any subdirectories). provide_access users(johndoe) directory(d:\myfiles) permissions(read write) ; */ /* This will allow you to provide access to a userid specified in the AFTP_USER environment variable. To set this variable, put the following line in your CONFIG.SYS file: SET AFTP_USER=username provide_access users(%AFTP_USER%) directory(*) permissions(read write) ; */ /* The following examples show how to provide access for people who connect without security information ("anonymous"). provide_access users(anonymous) directory(n:\aftptest\) permissions(read) ; provide_access users(anonymous) directory(n:\aftptest\write\) permissions(read write) ; */ map source_mask(*.NONE) target_mask(*.) options(); map source_mask(*.LABEL) target_mask(*.LBL) options(); map source_mask(*.NONEBIN) target_mask(*.) options(binary); map source_mask(*.ASSEMBLE) target_mask(*.A37) options(); map source_mask(*.LISTPS) target_mask(*.PS) options(binary); map source_mask(*.APLTF ) target_mask(*.ATF) options(binary); map source_mask(*.EXEC ) target_mask(*.EXC) options(); map source_mask(*.PACKAGE ) target_mask(*.PKG) options(); map source_mask(*.SCRIPT ) target_mask(*.SCR) options(); map source_mask(*.NEWS ) target_mask(*.NEW) options(); map source_mask(*.DOCUMENT) target_mask(*.DOC) options(); map source_mask(*.BOOK ) target_mask(*.BOO) options(binary); map source_mask(*.ARC ) target_mask(*.* ) options(binary); map source_mask(*.*BIN ) target_mask(*.*[BIN]) options(binary); map source_mask(*.BAS ) target_mask(*.* ) options(binary); map source_mask(*.CFG ) target_mask(*.* ) options(binary); map source_mask(*.COM ) target_mask(*.* ) options(binary); map source_mask(*.EXE ) target_mask(*.* ) options(binary); map source_mask(*.FLS ) target_mask(*.* ) options(binary); map source_mask(*.PRS ) target_mask(*.* ) options(binary); map source_mask(*.LIB ) target_mask(*.* ) options(binary); map source_mask(*.OBJ ) target_mask(*.* ) options(binary); map source_mask(*.PIC ) target_mask(*.* ) options(binary); map source_mask(*.RAM ) target_mask(*.* ) options(binary); map source_mask(*.SYS ) target_mask(*.* ) options(); map source_mask(*.WKS ) target_mask(*.* ) options(binary); map source_mask(*.WK1 ) target_mask(*.* ) options(binary); map source_mask(*.WK3 ) target_mask(*.* ) options(binary); map source_mask(*.ZIP ) target_mask(*.* ) options(binary); map source_mask(*.AVAIL ) target_mask(*.AVL) options(); map source_mask(*.PLAS ) target_mask(*.PLS) options(); map source_mask(*.BMP ) target_mask(*.* ) options(binary); map source_mask(*.DLG ) target_mask(*.* ) options(binary); map source_mask(*.DLL ) target_mask(*.* ) options(binary); map source_mask(*.ICO ) target_mask(*.* ) options(binary); map source_mask(*.FNT ) target_mask(*.* ) options(binary); map source_mask(*.PTR ) target_mask(*.* ) options(binary); map source_mask(*.RES ) target_mask(*.* ) options(binary); map source_mask(*.ANNOUNCE) target_mask(*.ANN) options(); map source_mask(*.DOC ) target_mask(*.DOC) options(); map source_mask(*.CATALOG ) target_mask(*.CAT) options(); map source_mask(*.IMG ) target_mask(*.* ) options(binary); map source_mask(*.KPS ) target_mask(*.* ) options(binary); map source_mask(*.KPL ) target_mask(*.* ) options(binary); map source_mask(*.PAL ) target_mask(*.* ) options(binary); map source_mask(*.PLX ) target_mask(*.* ) options(); map source_mask(*.R1P ) target_mask(*.* ) options(binary); map source_mask(*.WRK ) target_mask(*.* ) options(binary); map source_mask(*.TERSE ) target_mask(*.TER) options(binary); map source_mask(*.TERS3820) target_mask(*.T38) options(binary); map source_mask(*.BKINDEX) target_mask(*.BKI) options(binary); map source_mask(*.BKSHELF) target_mask(*.BKS) options(); map source_mask(*.CDR) target_mask(*.*) options(binary); map source_mask(*.CGM) target_mask(*.*) options(binary); map source_mask(*.RFT) target_mask(*.*) options(binary); map source_mask(*.RFTD) target_mask(*.RFT) options(binary); map source_mask(*.RFTF) target_mask(*.RFT) options(binary); /* * The following line maps source filenames with extensions longer than * three characters to target names with truncated 3 character * extensions compatible with FAT filesystems. Files with extensions * not matching any of the above will be mapped with this rule. * If you are using the HPFS filesystem and don't want truncated * extensions, comment out the following line. * * Note that this should be the LAST map command in this file. AFTP * scans the list of source masks in the order in which they are given * in this file, and stops at the first match. Since this map command * is intended to be used only when no other source masks are matched, * it must be the last map command in the file. */ map source_mask(*.???*) target_mask(*.???[*]) options();