/*****************************************************************************/ /* */ /* aftpserv.ini */ /* */ /* Template for AFTP Server config file */ /*****************************************************************************/ /* This is an example of how to give the user "steved" read/write access to all the files on the c: drive and the d: drive provide_access users(steved) directory(c:) permissions(read write) ; provide_access users(steved) directory(d:) permissions(read write) ; */ /*****************************************************************************/ /*****************************************************************************/ /* The following is an example of providing a user "daring" read/write access to the files in d:\myfiles (and any subdirectories). provide_access users(daring) directory(d:\myfiles) permissions(read write) ; */ /*****************************************************************************/ /*****************************************************************************/ /* The following example shows how to provide read-only access for all users other than "anonymous" provide_access users(*) directory(d:\files\) permissions(read) ; */ /*****************************************************************************/ /*****************************************************************************/ /* The following examples show how to provide access for people who connect without security information ("anonymous"). provide_access users(anonymous) directory(c:\public\) permissions(read) ; provide_access users(anonymous) directory(c:\public\write\) permissions(read write) ; */ /* * * This list of mappings is used by the AFTP server when the client sends a * file. * */ 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 three-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 NTFS 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();