;FTPServerTools.ini help file version 1.0.56 ;What you dont use you can comment out by adding a ; in front of a line ;Dont forget to set your ServerType= ;If you comment out a line with a ; in front of it then the default setting will be taken ;To not use something then set it to empty, e.g. InDirCompleted= with nothing behind it. [Files] LogFile=c:\FTPServer\uploads.log ; is optional, if omitted or empty then logging is off ; Default: LogFile= ; Used for:FTPLogger.exe ;LogLine=Date=%[DateLocal] Time=%[TimeLocal] Weekday=%[WeekdayLocal] UserName=%[UserName] DirName="%[DirName]" FilePath="%[FilePath]" FileName="[%FileName]" FileLength=%[FileLength] FileStatus=%[FileStatus] FilesExpected=%[FilesExpected] FilesAvailable=%[FilesAvailable] FilesGood=%[FilesGood] ReleaseComplete=%[ReleaseComplete] SizeExpected=%[SizeExpected] SizeAvailable=%[SizeAvailable] SizeGood=%[SizeGood] ReleaseCount=%[ReleaseCount] Speed=%[Speed] ; This is the line that gets written to the logfile. The cookies get filled in by FTPLogger. ; Default: LogLine=Date=%[DateLocal] Time=%[TimeLocal] Weekday=%[WeekdayLocal] UserName=%[UserName] FilePath=\"%[FilePath]\" FileLength=%[FileLength] FileStatus=%[FileStatus] FilesExpected=%[FilesExpected] FilesAvailable=%[FilesAvailable] FilesGood=%[FilesGood] ReleaseComplete=%[ReleaseComplete] SizeExpected=%[SizeExpected] SizeAvailable=%[SizeAvailable] SizeGood=%[SizeGood] ReleaseCount=%[ReleaseCount] Speed=%[Speed] ; Used for FTPLogger.exe, sitebot.mrc, main.tcl ExtractFile=c:\FTPServer\extractnfo.txt ; is optional. It points to a filename that hase the names of all files (usually nfo) that ; will be extracted, in a line by line list. This is the list of proper nfo files. ; Default: ExtractFile= ; Used for:FTPLogger.exe MessageFile=.message ;MessageFile=.ioFTPD.message ; This is the dir change message file, for ioftpd use MessageFile=.ioFTPD.message ; Be aware for ioFTPD this is case sensitive MessageHeader=c:\FTPServer\MessageHeader.msg MessageCompleted=c:\FTPServer\MessageCompleted.msg MessageComplete=c:\FTPServer\MessageComplete.msg MessageExtra=c:\FTPServer\MessageExtra.msg ;MessageHidden=TRUE ; (TRUE/YES/1/FALSE/NO/0) creates the message file with hidden bit on or off ;NFOPrepend=c:\FTPServer\NFOPrepend.txt ;NFOAppend=c:\FTPServer\NFOAppend.txt ;DIZPrepend=c:\FTPServer\DIZPrepend.txt ;DIZAppend=c:\FTPServer\DIZAppend.txt ;SFVPrepend=c:\FTPServer\SFVPrepend.txt ;SFVAppend=c:\FTPServer\SFVAppend.txt ;M3UPrepend=c:\FTPServer\M3UPrepend.txt ;M3UAppend=c:\FTPServer\M3UAppend.txt ; Default: empty ; Used for: FTPLogger.exe ; These are used to point to the filename of the file that gets prepended/appended to the uploaded nfo/diz/sfv/m3u file [Uploads] DefaultUserName=SYSTEM ; is the name of the default user, whic will be filled in if no user is known ; Default: DefaultUser=System ; Used for: FTPLogger.exe,OnDirCreated.exe DefaultUserGroup=SYSTEM ; is the name of the default user, whic will be filled in if no user is known ; Default: DefaultUserGroup=System ; Used for: FTPLogger.exe,OnDirCreated.exe DelNfo=TRUE ; (TRUE/YES/1/FALSE/NO/0) will make this program delete (or not) all nfo files that are not in the ; given list of proper nfo files. ; Default: DelNfo=TRUE ; Used for: FTPLogger.exe DelBadZip=TRUE ; (TRUE/YES/1/FALSE/NO/0) will delete (or not) any bad zip file, RENAME will make that the file gets renamed, ; Default: DelBadZip=TRUE ; Used for: FTPLogger.exe DelBadRar=TRUE ; (TRUE/YES/1/FALSE/NO/0) will delete (or not) any bad rar file, RENAME will make that the file gets renamed, ; Default: DelBadRar=TRUE ; Used for: FTPLogger.exe DelBadSFV=TRUE ; (TRUE/YES/1/FALSE/NO/0) will delete (or not) any bad file from the sfv file, RENAME will make that the file gets renamed, default: DelBadSFV=RENAME ; All available sfv files and all availble entries will be checked, any entry that tells the file is ok will make it that it doesnt get deleted or renamed. ; So you could have an sfv file with a good crc and one with a bad one. That results in the file not being deleted. ; Default:DelBadSFV=RENAME ; Used for: FTPLogger.exe CheckSFV=TRUE ; (TRUE/YES/1/FALSE/NO/0) to enable/disable sfv checking. You may want to turn disable sfv checking if you have sfv checking on with raiden. ; In RAIDEN you have: AUTO_FIX_SFV=1 for fixing a bad sfv, check the raiden forums for the settings. As far as I have read ; you need to do SFV_CHK=0 in your raiden .ftpd file if you want to disable sfv checking. ; Zip checking can not be turned off ; in ftplogger because file_id.diz needs to be extracted anyway. ; Default: CheckSFV=TRUE ; Used for: FTPLogger.exe DelBadRenamed=TRUE ; (TRUE/YES/1/FALSE/NO/0) This tells whether to delete any files according to the RenameTo mask that have been sfv checked and renamed (due to bad crc). Once a ; good file is received there is no reason to keep the bad ones. Of course this also works for bad mp3 files if the sfv says the mp3 is bad. ; Renaming ONLY occurs due to a bad CRC in the sfv file. ; Default: DelBadRenamed=TRUE ; Used for: FTPLogger.exe RenameTo=!%[FileName].bad ; Will rename a bad file to this where %[FileName] is the filename. So file.zip gets renamed to !file.zip.bad. ; if !file.zip.bad already exists then !file.zip.001.bad will be created etc.. ; Default: RenameTo=!%[FileName].bad ; Used for: FTPLogger.exe Missing=!%[FileName].missing ; This will create a .missing file if the sfv expects a file and it isnt uploaded yet. The .missing files are automatically get deleted. ; If you set this option to an empty string: Missing= ,then no missing files will be created (or removed). ; Default: Missing=!%[FileName].missing ; Used for: FTPLogger.exe DelSmallFile=3 ; if a file is equal or smaller then this size it will be deleted ; Default: DelSmallFile=3 ; Used for: FTPLogger.exe Sleep=0 ; is only usefull for very fast machines. If a machine is very fast it can be ; ahead in reading/writing a file whilst it isnt opened yet. This could cause the creation of ; some files like in this case a wait state of 100 m is build in. ; It looks like some ftpservers take time to close a file. ; This behaviour seems to happen only with zip files. I guess its the unzipdll. ; If you use the ASK interface from raiden then you can leave this at 0. ; Default: Sleep=0 ; Used for: FTPLogger.exe ;OnCompletion=c:\FTPServer\MSAgentSpeak There is a complete release in %[DirName] ;OnCompletion=c:\tools\blat.exe -hostname mailserver -f me@somewhere.org -t me@ftpserver.org -s "upload completed" ; OnCompletion= will run a command when a release is completed, default: OnCompletion= ; Multiple OnCompletion= lines are possible, Be aware that all these get started simultaeneously, so they dont wait for each other to finish. ; alse these programs runs as a seperate task. ; Default: no defaults ; Used for: FTPLogger.exe ;OnCompletionWindow=HIDE ; Will start the program(s) from OnCompletion in the named window mode, in this case as a hidden window. There is also ; MAXIMIZE Maximizes the specified window. ; SHOWMAXIMIZED Activates the window and displays it as a maximized window. ; MINIMIZE Minimizes the specified window and activates the next top-level window in the Z order. ; SHOWMINIMIZED Activates the window and displays it as a minimized window. ; SHOWMINNOACTIVE Displays the window as a minimized window. ; SHOWNORMAL Activates and displays a window. If the window is minimized or maximized, the system restores it to its original size and position. ; SHOW Activates the window and displays it in its current size and position. This value is similar to MINIMIZED, except the window is not activated. ; SHOWNA Displays the window in its current size and position. This value is similar to SHOW, except the window is not activated. ; SHOWNOACTIVATE Displays a window in its most recent size and position. This value is similar to SHOWNORMAL, except the window is not actived. ; HIDE Hides the window and activates another window. Be aware with this option, if your task does not end it will not be visible. ; Default: OnCompletionWindow=SW_HIDE ; Used for: FTPLogger.exe ;DeleteFile=C:\FTP\VCD\!* ;DeleteFile=C:\FTP\MP3\*\.racestat* ; This kind of parameter will check the complete path of the file that has been uploaded with the given wildcard. If it ; fits then the file will be deleted immediately. Apparently some servers do not allow file denial so this is a ; simple way to do something similar. Multiple DeleteFile lines are possible. ; Default: no defaults ; Used for: FTPLogger.exe ;IgnoreFile=C:\FTP\*.nfo ;IgnoreFile=C:\FTP\*.txt ; Ignore these files dont deduce anything about it, also dont check them. Multiple IgnoreFile lines are possible. ; Default: no defaults ; Used for: FTPLogger.exe, OnDirCreated.exe, OnDirDeleted.exe NoLog=*.nfo ;NoLog=C:\FTP\Private\* ; Do not add these uploads in the logfile, but do check them, multiple NoLog lines are possible. SFVCorrect=TRUE ; (TRUE/YES/1/FALSE/NO/0) This will force to correct a bad sfv with double entries to be written back correctly ; It will also remove lines and make it into normal lines. ; Default: SFVCorrect=TRUE ; Used for: FTPLogger.exe SFVCorrectBadLines=TRUE ; (TRUE/YES/1/FALSE/NO/0) This will force to correct a bad sfv with bad lines in it to be written back correctly ; Default: SFVCorrectBadLines=TRUE ; Used for: FTPLogger.exe DIZCorrect=TRUE ; (TRUE/YES/1/FALSE/NO/0) This will remove lines and make it into normal lines. (make DIZ file more readable) ; Default: DIZCorrect=TRUE ; Used for: FTPLogger.exe NFOCorrect=TRUE ; (TRUE/YES/1/FALSE/NO/0) This will remove lines and make it into normal lines. (make NFO file more readable) ; Default: NFOCorrect=TRUE ; Used for: FTPLogger.exe M3UCorrect=TRUE ; (TRUE/YES/1/FALSE/NO/0) This will remove lines and make it into normal lines. (make M3U file more readable) ; Default: M3UCorrect=TRUE ; Used for: FTPLogger.exe ExtractAll=FALSE ; (TRUE/YES/1/FALSE/NO/0) This will force to extract the file_id.diz and *.nfo from every uploaded zip file. Setting this to false ; will make the diz and nfo file be extracted only once. ; Default: ExtractAll=FALSE ; Used for: FTPLogger.exe ExtractFirstNfo=FALSE ; (TRUE/YES/1/FALSE/NO/0) This will force to extract the first nfo from a zip file. ; Default: ExtractFirstNfo=FALSE ; Used for: FTPLogger.exe ;---------------- ; It is possible to execute commands if a file is uploaded. ZIP and RAR files are internally checked so they only get started if they are not broken. ; The default cookies will be used in here. ; Multiple of those lines are possible. ; Default: empty ; Used for FTPLogger.exe ;OnZIP=c:\windows\system32\cmd.exe /c echo OnZIP >>c:\log.log ; Do something if a zip file is uploaded and is good. ;OnRAR=c:\windows\system32\cmd.exe /c echo OnRAR >>c:\log.log ; Do something if a rar file is uploaded and is good. ;OnSFV=c:\windows\system32\cmd.exe /c echo OnSFV >>c:\log.log ; Do something if a sfv file is uploaded. ;OnM3U=c:\windows\system32\cmd.exe /c echo OnM3U >>c:\log.log ; Do something if a m3u file is uploaded. ;OnDIZ=c:\windows\system32\cmd.exe /c echo OnDIZ >>c:\log.log ; Do something if a diz file is uploaded. ;On*=c:\windows\system32\cmd.exe /c echo On* >>c:\log.log ; Do something if any file uploaded. This will always be executed if none of the other commands is executed. ; ; Any other file extension can also be used. Just add it. ;OnTXT=c:\windows\system32\cmd.exe /c echo TEXT File uploaded >>c:\log.log ;OnHTML= ;OnLOG=c:\windows\system32\cmd.exe /c del "%[FilePath]" ; ; ; ;ReplyBad=#sudo site unnuke %[FileName] ; You can let FTPLogger reply back whether a file is correct or not. Multiple Lines are possible. ; For example when you use RaidenFTPD you might want to unnuke the uploaded file (remove it from the dupe database) ; this is possible by using the #sudo command. ;ReplyBad=-------------------------------------------- ;ReplyBad=File %[FileName] is bad. ;ReplyBad=-------------------------------------------- ;ReplyBad=Current progress: %[ProgressBar] %[PercentGood]% ; Also you might want to display how far you are ; Default:Empty line ; Used for FTPLogger.exe ; ; The same is possible for a correct file. If it is good it can reply to the console as well. ; Default:Empty line ; Used for FTPLogger.exe ;ReplyOk=-------------------------------------------- ;ReplyOk=File %[FileName] correctly checked by %[UserName] ;ReplyOk=-------------------------------------------- ;ReplyOk=Current progress: %[ProgressBar] %[PercentGood]% ; The replies for the ftp server to resolve. For ioftpd this is replied on console mode, for raidenftpd a reply file is created. ; Multiple lines are possible. ; ;SFVTypes=*.mp3 ;SFVTypes=*.[rs0-9][0-9][0-9] ;SFVTypes=*.rar ;SFVTypes=*.zip ; These settings say which files in an sfv are counted for a release size count. This way for example an ; nfo isnt counted in the release size. Here wildcards are * ? and characters between the [ and ]. Any - tells a range. ; so [rs0-9] means it is any of these rs0123456789 which is correct. ; The defaults are the ones shown here. ; Used for:FTPLogger.exe ; ; ;SFVHeaders=504B0304 ;SFVHeaders=52617221 ;SFVHeaders=49443303 ;SFVHeaders=FF[EF] ; The 32 byte headers are being read from the file which conveys another way to determine the file type. ; The defaults are the ones shown here. In order they are for ZIP, RAR, MP3 with ID3 tag, MP3 ; Used for:FTPLogger.exe ; ;M3UTypes=*.mp3 ; for M3U files it functions similarly to SFV. Except that an SFV file has a CRC in it and an M3U doesnt. ; The defaults are the ones shown here. In order they are for MP3 with ID3 tag, MP3 ; Used for:FTPLogger.exe ;M3UHeaders=49443303 ;M3UHeaders=FF[EF] ; The 32 byte headers are being read from the file which conveys another way to determine the file type. ; The defaults are the ones shown here. In order they are for MP3 with ID3 tag, MP3 ; Used for:FTPLogger.exe FileChmod=755 ; This is the chmod being used when an nfo or file_id.diz file is extracted or when a tag or .message file is being created. ; Default:FileChmod=755 ; Used for:FTPLogger,OnDirCreated FileUserName=%[UserName] ; This is the user that becomes the owner of the file_id.diz,.message, extracted nfo files and tag files ; Default:FileUserName=%[UserName] ; Used for:FTPLogger,OnDirCreated FileUserGroup=%[UserGroup] ; This is the group that becomes the owner of the file_id.diz,.message, extracted nfo files and tag files ; Default:FileUserGroup=%[UserGroup] ; Used for:FTPLogger,OnDirCreated ;AddToDupeLists=TRUE ; This will add a directory to the dupelists (mentioned in DupeCheckDir=) wherever appropriate when a dir ; is completed. ; Default:FALSE ; Used for:FTPLogger [Tags] InDirTagType=FILE ; This will determine the type of tag that gets created. I advise to use FILE but some people ; insist in DIR tags. DIR tags will NOT be deleted when there is a file in it or a lock on it. ; So this means your site can become messed up. Also a problem can be that when NTFS is used the ; DeleteDir does not happen immediately but has a slight delay. This tag gets created in the dir itself. ; FILE|DIR ; Default: InDirTagType=FILE ; Used for: FTPLogger.exe InParentTagType=FILE ; This will determine the type of tag that gets created. I advise to use FILE but some people ; insist in DIR tags. DIR tags will NOT be deleted when there is a file in it or a lock on it. ; So this means your site can become messed up. Also a problem can be that when NTFS is used the ; DeleteDir does not happen immediately but has a slight delay. This tag gets created in the parent dir. ; FILE|DIR ; Default: InParentTagType=FILE ; Used for: FTPLogger.exe, OnDirCreated.exe, OnDirDeleted.exe ;InParentDelete=!%[DirName]-=[*]=- ; :in the parent dir on upload all these files will be deleted ; so be carefull with this flag! default:InParentDelete= ; Now this tag is actually no longer needed but it is still supported. The tags to be deleted are automatically derived ; from the other tags. %[DirName] will be replace with the dirname needed. ; This tag is not needed but since it might be handy I left it. You can use this tag multiple times, one per line. ; Default: InParentDelete= ; Used for: FTPLogger.exe InParentEmpty=!%[DirName]-=[Empty]=- ; This is the tage that is being created. If you put nothing behind here then NO tag is created. ; If you dont use my other tools then this is the option you'd be likely want. ; %[DirName] will be replaced by the dirname that has just been created. ; So creating a dir in G6 of 0day\0101\Release-CLS will create a file 0day\0101\!!-Release-CLS-=[Empty]=- ; Default:InParentEmpty=!%[FileName]-=[Empty]=- ; The standard cookies are NOT available here, only %[DirName] is. ; Used for: OnDirCreated.exe, OnDirDeleted InParentCompleted=!%[DirName]-=[completed-%[PercentGood]%-%[FilesGood]-of-%[FilesExpected]-extra-%[FilesExtra]]=- ; :in the parent dir if a release is incomplete this file will be made ; default: InParentCompleted=!%[DirName]-=[completed-%[PercentGood]%-%[FilesGood]-of-%[FilesExpected]-extra-%[FilesExtra]]=- ; The standard cookies are available here. ; Used for: FTPLogger.exe, OnDirDeleted InParentNoFiles=!%[DirName]-=[no.files]=- ; :is made in the parent dir if a dir is made with no files. ; Default: InParentNoFiles=!%[DirName]-=[no.files]=- ; The standard cookies are available here. ; Used for: FTPLogger.exe, OnDirDeleted InParentNoDiz=!%[DirName]-=[no.filecount]=- ; :is made in the parent dir if no file_id.diz could be found (zip only) ; Default: InParentNoDiz=!%[DirName]-=[no.filecount]=- ; The standard cookies are available here. ; Used for: FTPLogger.exe, OnDirDeleted InParentBadDiz=!%[DirName]-=[bad.diz]=- ; :is made in the parent dir if the file_id.diz is bad, no diskcount to be found ; Default: InParentBadDiz=!%[DirName]-=[bad.diz]=- ; The standard cookies are available here. ; Used for: FTPLogger.exe, OnDirDeleted InDirDelete=!-=[*]=- ; :in the release dir all these files are deleted when a file is upped ; Now this tag is actually no longer needed but it is still supported. The tags to be deleted are automatically derived ; from the other tags. You can use this tag multiple times, one per line. ; Default: InDirDelete= ; Used for: FTPLogger.exe InDirCompleted=!-=[completed-%[PercentGood]%-%[FilesGood]-of-%[FilesExpected]-extra-%[FilesExtra]]=- ; :in the release dir this file show completion %p percent with %n of %t disks, ; OnDirCreated uses this tag to identify dupe dirs, it does so by using the %[PercentGood] in it which then is 100%. If PercentGood is absent then the ; dupe dir checking is turned off. ; Default: InDirCompleted=!-=[completed-%[PercentGood]%-%[FilesGood]-of-%[FilesExpected]-extra-%[FilesExtra]]=- ; The standard cookies are available here. ; Used for: FTPLogger.exe, OnDirCreated.exe InDirComplete= ; :when a release is completed this tags gets created, it gets removed again when there are more files added (that count) to the release. ; Default:empty string so no tags gets created ; Used for: FTPLogger InDirNoFiles=!-=[no.files]=- ; :in the release dir if there are no usefull files then this gets created. ; Default: InDirNoFiles=!-=[no.files]=- ; The standard cookies are available here. ; Used for: FTPLogger.exe InDirNoDiz=!-=[no.filecount]=- ; :in the release dir if the file_id.diz is missing this gets created, ; so other files may be present tho, e.g. exe's ; Default: InDirNoDiz=!-=[no.filecount]=- ; The standard cookies are available here. ; Used for: FTPLogger.exe InDirBadDiz=!-=[bad.diz]=- ; :in the release dir if it is a bad file_id.diz, no diskcount can be extracted ; Default: InDirBadDiz=!-=[bad.diz]=- ; The standard cookies are available here. ; Used for: FTPLogger.exe InDirCompletedRemove=FALSE ; :Set this to TRUE to remove the InDirCompleted tag when a release is completed. ; Default: InDirCompletedRemove=FALSE ; Used for: FTPLogger.exe ReplaceBackSlash=- ; This will in a IsoDir replace the \ with - ; This is used for iso dirs. e.g. C:\FTP\SVCD\release\!cd1-=[1-of-.. will be c:\iso\!release_CD1-=[1-of-.... ; The IsoDir tags will be using this. ; Default: ReplaceBackSlash=- ; Used for: FTPLogger.exe, OnDirCreated.exe, OnDirDeleted.exe ISODirHandleSubDirTags=TRUE ; This one is for the situations where you have c:\iso\release so that when create a dir like C:\FTP\SVCD\release\cd1 ; that C:\FTP\!release-=[Empty]=- gets removed. ; TRUE/1/YES/FALSE/0/NO ; Default:ISODirHandleSubDirTags=TRUE ; Used for: OnDirCreated.exe FileIncomplete=!%[FileName].incompleted ; This is used if only you run FTPLOGGER.EXE with the parameter KEEPINCOMPLETE=TRUE ; If a file is uploaded via your ftp server and it triggers the uploadincomplete event then this file will be the tag that gets created. ; Default:!%[FileName].incompleted ; Used for:FTPLogger SizeFormat=%01.0f%s ; This is used for the size tag formatting. ; It is used for the translation of the %[SizeAvailable] and %[SizeGood] and %[SizeExpected] cookies. If you want to use an extra space in front or in the back ; The string should be a standard C formatting string, two paramaters are used to build up this string. The first is the exact size, the second is a letter ; K for KBytes, M for MBytes. ; The format is as follows: ; %[flags] [width] [.precision] type ; Flags ; The format identifers can be altered from their default function by applying the following flags: ; - Left justify. ; 0 Field is padded with 0's instead of blanks. ; + Sign of number always O/P. ; blank Positive values begin with a blank. ; printf Width Specification ; The second optional field of the format specification is the width specification. The width argument is a nonnegative decimal integer controlling the minimum number of characters printed. ; If the number of characters in the output value is less than the specified width, blanks are added to the left or the right of the values — depending on whether the – flag ; (for left alignment) is specified — until the minimum width is reached. If width is prefixed with 0, zeros are added until the minimum width is reached (not useful for left-aligned numbers). ; The width specification never causes a value to be truncated. If the number of characters in the output value is greater than the specified width, or if width is not given, ; all characters of the value are printed (subject to the precision specification). The flags must follow the %. ; Precision Specification ; The third optional field of the format specification is the precision specification. It specifies a nonnegative decimal integer, preceded by a period (.), which specifies the ; number of characters to be printed, the number of decimal places, or the number of significant digits (see Table R.5). Unlike the width specification, the precision specification can cause either ; truncation of the output value or rounding of a floating-point value. If precision is specified as 0 and the value to be converted is 0, the result is no characters output, as shown below: ; Table R.5 How Precision Values Affect Type ; Type Meaning Default ; e, E The precision specifies the number of digits to be printed after the decimal point. The last printed digit is rounded. Default precision is 6; ; if precision is 0 or the period (.) appears without a number following it, no decimal point is printed. ; f The precision value specifies the number of digits after the decimal point. If a decimal point appears, at least one digit appears before it. ; The value is rounded to the appropriate number of digits. Default precision is 6; if precision is 0, or if the period (.) appears without a number following it, no decimal point is printed. ; g, G The precision specifies the maximum number of significant digits printed. Six significant digits are printed, with any trailing zeros truncated. ; s, S The precision specifies the maximum number of characters to be printed. Characters in excess of precision are not printed. Characters are printed until a null character is encountered. ; If the argument corresponding to a floating-point specifier is infinite, indefinite, or NaN, printf gives the following output. ; Value Output ; + infinity 1.#INFrandom-digits ; – infinity –1.#INFrandom-digits ; Indefinite (same as quiet NaN) digit.#INDrandom-digits ; NAN digit.#NANrandom-digits ; printf Type Field Characters ; The type character is the only required format field ; it appears after any optional format fields. The type character determines whether the associated argument is ; interpreted as a string, or number. ; Table R.3 printf Type Field Characters ; Character Type Output Format ; e double Signed value having the form [ – ]d.dddd e [sign]ddd where d is a single decimal digit, dddd is one or more decimal digits, ddd is exactly three decimal digits, and sign is + or –. ; E double Identical to the e format except that E rather than e introduces the exponent. ; f double Signed value having the form [ – ]dddd.dddd, where dddd is one or more decimal digits. The number of digits before the decimal point depends on the magnitude of the number, and the ; number of digits after the decimal point depends on the requested precision. ; g double Signed value printed in f or e format, whichever is more compact for the given value and precision. The e format is used only when the exponent of the value is less than –4 or ; greater than or equal to the precision argument. Trailing zeros are truncated, and the decimal point appears only if one or more digits follow it. ; G double Identical to the g format, except that E, rather than e, introduces the exponent (where appropriate). ; s String When used with printf functions, specifies a single-byte–character string; Characters are printed up to the first null character or until the precision value is reached. ; Warning: do keep the order so first some %f string and then one %s. Do not interchange it or the default will be used. You can tho skip the last %s. ; If an exception would occur due to a bad formatting string then the default string will be used. ; Exception: ; When only bytes are used in the auto tag then there will be no use of the SizeFormat string it will basically just use %1.0f ; Examples: %01.1f%sbytes will create strings like 18.4Mbytes ; %01.f will create strings like 18.4 ; Default: %01.f%s this will create strings like 18M ; Used for:FTPLogger ; ;About standard cookies: ;%[ParentPath] = the full path of the parent dir being handled ;%[DirPath] = the full path of dir being handled ;%[DirName] = the name dir that is being handled ;%[FilePath] = the full path that is being handled ;%[FileName] = the filename that is being handled ;%[FileType] = (zip,rar,nfo,diz,sfv,m3u,mp3,*) * for any other type ;%[FileExtension] = (zip,rar,r00,r01,...ace,..) so the file extension ;%[FileStatus] = BAD, OK to show if the uploaded file is good or bad according to zip,sfv,rar,.. checking ;%[FileSpeed] = taken from SPEED= parameter, this is the speed with which a file is uploaded ;%[UserName] = the name of the user (taken from USER=) ;%[UserGroup] = the name of the group of the user (taken from GROUP=) ;%[ServerType] = RaidenFTPD,ioFTPD,Default,.. tken from FTPServerTools.ini ServerType= ;%[MP3Title] = Title of the MP3 file ;%[MP3Artist] = Artist of the MP3 file ;%[MP3Album] = Album name of the MP3 file ;%[MP3Year] = Year of the MP3 file ;%[MP3Comment] = Comment of the MP3 file ;%[MP3Genre] = Genre of the MP3 file ;%[MP3GenreNr] = The number of the genre (0..255) ;%[MP3Track] = Track of the MP3 file ;%[MP3ID3Type] = THe ID3 Tag type of the mp3 file ;%[MP3ProtBit] = Protection bit (0 or 1) of the MP3 file ;%[MP3Version] = Version of the MP3 file ;%[MP3Layer] = Compression layer if the MP3 file: "",III,II,I ;%[MP3BitRate] = Bitrate of the MP3 file ;%[MP3Mode] = The mode of the MP3 file: Stereo,Joint Stereo,Dual Channel,Mono ;%[MP3Copyright] = Whether the MP3 file is copyrighted or not: 0,1 ;%[MP3Original] = Whether the MP3 file is an original or not: 0,1 ;%[MP3Lyrics] = The lyrics (if available) ;%[MP3Emphasis = The emphasis of the MP3 file: none, 50-15 ms, CCITT j.17 ;%[MP3Version] = The MP3 version of the MP3 file: 2.5,"",2,1 ;%[FilesExpected] = nr files expected according to the diz count or the sfv/m3u count that are not .incomplete or .mising ;%[FilesAvailable] = nr mp3/rar/zip files available that are not .incomplete or .missing ;%[FilesGood] = nr files found that are in the sfv/m3u/diz count that are not .incomplete or .missing ;%[FilesBad] = nr bad files, the files with the RenameTo tag.. !%[FileName].bad and !%[FileName].bad.001 etc.. ;%[FilesMissing] = nr missing files, the files with the Missing tag. !%[FileName].missing ;%[FilesExtra] = nr extra files, the rar/mp3/zip files that are not in the sfv/m3u/diz count that somehow seem to be extra ;%[SizeAvailable] = size of all available rar/mp3/zip files in bytes/KBytes/MBytes ;%[SizeGood] = size of all rar/mp3/zip files found according to the sfv/m3u/diz count in bytes/KBytes/MBytes ;%[SizeExpected] = total size expected according to the sfv/m3u/diz count in bytes/KBytes/MBytes ;%[UserName] = username ;%[UserGroup] = usergroup ;%[PercentGood] = percentage from expected files that is already received ;%[PercentMissing] = percentage missing files ;%[ProgressBar] = a progress bar. Be aware unlike certain other scripts this progress bar will ONLY be full when the release is 100%. Quite a few other scripts ; fail here and on 98% will show a full bar. The result of it is that for example on 5% the bar will be empty. (if the bar is 10 long). ;%[DateLocal] = YYYY-MM-DD in local date ;%[DateUTC] = YYYY-MM-DD in UTC date (=GMT date) ;%[WeekdayLocal] = Mon,Tue,Wed,Thu,Fri,Sat,Sun according to local date ;%[WeekdayUTC] = Mon,Tue,Wed,Thu,Fri,Sat,Sun according to UTC (=GMT time) ;%[TimeLocal] = HH:MM:SS in local time ;%[TimeUTC] = HH:MM:SS in UTC time (=GMT time) ;%[ReleaseComplete] = INCOMPLETE, COMPLETE, EXTRA to tell if the release is incomplete, complete or if it has extra files ;%[ReleaseCount] = ???, SFV, DIZ, M3U shows where the count of the release is dediced from ;% ;Environment cookies are also possible. Those are cookies that take their value from any enironment variable. ;These you get by %[Environmentvariable] for example %[USER] or %[ACCSPEED] ;This is specially usefull for ioFTPD. ioFTPD supports the environment variables you see when you do 'site test'. ;Useful ones are: ;%[USER] username ;%[GROUP] main group that USER is in ;%[GROUPS] groups that USER is in ;%[SPEED] speed ;%[ACCSPEED] accurate speed ;%[PATH] real path ;%[PWD] virtual path ;%[TAGLINE] users tagline ProgressBarLength=10 ; This is for setting the length of the progress bar (cookie %[ProgessBar]) ; Default:ProgressBarLength=10 ; Used for: FTPLogger.exe, OnDirDeleted.exe ProgressBarCompleteChar=# ; This is the character showing how many there are. e.g. 20% would be ##........ ; Do not use * / \ or ? in here, it will be replaced by # then ; Default:ProgressBarCompleteChar=# ; Used for: FTPLogger.exe, OnDirDeleted.exe ProgressBarInCompleteChar=- ; This is the character showing how many there are. e.g. 20% would be ##........ ; Do not use * / \ or ? in here, it will be replaced by # then ; Default:ProgressBarInCompleteChar=. ; Used for: FTPLogger.exe, OnDirDeleted.exe, OnDirCreated.exe [Directories] Remove=C:\FTP\*[*] Remove=C:\FTP\*-[100%]-[--all-files-CRC-ok--]- Remove=C:\FTP\*[*]*complete* Remove=C:\FTP\*-COMPLETE* Remove=C:\FTP\*-INCOMPLETE* Remove=*-NONFO Remove=*-NODIZ Remove=*swedish* Remove=*solaris* Remove=C:\FTP\*-[100%]-* Remove=*CZECH* Remove=*SPANISH* ;etc.. Delete any dir that looks like this (with DOS alike wildcards * or ?), e.g. Remove=[*COMPLETED* ; Used for:OnDirCreated.exe IsoDir=C:\FTP\Apps IsoDir=C:\FTP\Games IsoDir=C:\FTP\VCD IsoDir=C:\FTP\SVCD IsoDir=C:\FTP\DIVX ;...etc... ; :will make a isodir like C:\FTP\Apps\Release\CD1\file.rar create a tag not ; in the normal parent dir but in the iso dir. So for example in this case ; C:\FTP\Apps\!Release-CD1-=[1-of-10-10%-completed]=- is created instead of ; C:\FTP\Apps\Release\!CD1-=[1-of-10-10%-completed]=- which is VERY usefull for iso dirs ; The InParentInComplete tag will be made using Replacebackslash. ; Default: no defaults ; Used for: FTPLogger.exe, OnDirCreated.exe, OnDirDeleted.exe DupeCheckDir=C:\FTP\0day|C:\FTP\LISTS\0Day.lst|2|24 ;Ignore=C:\FTP\0day\*\!NUKED* DupeCheckDir=C:\FTP\mp3|C:\FTP\LISTS\MP3.lst|2|0 ;Ignore=C:\FTP\0day\*\!NUKED* DupeCheckDir=C:\FTP\Apps|C:\FTP\LISTS\Apps.lst|1|0 ;Ignore=C:\FTP\0day\*\!NUKED* DupeCheckDir=C:\FTP\Games|C:\FTP\LISTS\Games.lst|1|0 ;Ignore=C:\FTP\0day\*\!NUKED* ;...etc.. ; :a DupeCheckDir line consists of maximally 4 parts ; part 1:the base directory to dupecheck in, at all levels in this dir will the new dir be checked. ; part 2:the dirlist to check against, this list should be created with DupeList, it must be a sorted list (for optimum speed) ; part 3:the depth of the dir where normally new dirs are created (only needed for DupeLister) ; part 4:the age in hours back that the dir has to be created before being added to the list by DupeLister ; A new dir is first compared to the basedirectory. If it is a subdir from the basedirectory then the check in the DupeCheckDir will be done. ; the 0day direcory in which dupes are checked. That means it will be checked 2 levels deep. e.g. ; DupeCheckDir=C:\FTP\0day will check for any dupes in C:\FTP\0day\*\* so C:\FTP\0day\0909\release will dupe with ; Used for:OnDirCreated.exe ; for DupeLister we can add Ignore is to not add those in the dupelists ;VFS=c:\FTPServer\raiden.vfs ; This contains the filename in which the virtual directory is layed out. It is compatible with the ; Raiden .vfs file. For example: ; C:\FTP\0Day|/0Day|rest of line ; Every full path will be translated according to the lines in this file. So a message that says ; "C:\FTP\0DAY\0202\release-cls is a dupe from C:\FTP\0DAY\0201\release-cls" will actually be renamed to ; "\0DAY\0202\release-cls is a dupe from \0DAY\0201\release-cls" ; Why would you want to use this? Simple because the ASK interface from raiden allows feedback on the ; OnDirCreated command. So this option has no use for any other FTP server. Any full path dirname not ; in the VFS file will not be renamed and will therefore stay as full path name. ; Why would you want to use this? Simple because the you now have the virtual path for your bot or mirc script. ; Default: no defaults ; Used for:FTPLogger.exe AutoCreate=c:\FTP\0Day\%m%d|c:\FTP\Yesterday 0day|/0Day/%m%d|-1|-1 AutoCreate=c:\FTP\0Day\%m%d|c:\FTP\ToDay 0day|/0Day/%m%d|0|0 AutoCreate=c:\FTP\MP3\%m%d|c:\FTP\ToDay MP3|/MP3/%m%d|0|0 AutoCreate=c:\FTP\EBooks\%m%d|||1|1 AutoCreate=c:\FTP\0Day\%m%d|c:\FTP\ToDay 0day|/0Day/%m%d AutoCreate=c:\FTP\MP3\%m%d|c:\FTP\YesterDay MP3|/MP3/%m%d ; This is needed for the creation of new directories every day, including their symlinks (ioFTPD) or shortcuts (Serv-U) ; The syntax of these lines is: ; AutoCreate=DatedDirPath|ShortCutPath|VirtualPath|DaysAhead|DaysBack ; DatedDirPath this is the actual new directory that is being created ; ShortcutPath this is the shortcut/symlink that is being created (Serv-U) or the directory that is being created to function as shortcut (ioFTPD) ; VirtualPath this is the comment for the chortcut (Serv-U) or the virtual path where the symlink points to (ioFTPD) ; DaysBegin this is the number of days that will be added to the current day where the dir creation range starts (default=0), ; this is the day that the symlink/shortcut points to. ; DaysEnd this is the number of days that will be added to the current day where the dir creation range stops (default=0). ; ; Some extra exaplanation for DaysBegin and DaysAhead: ; Assume the current date is Jan 19 and DaysBegin=-1 and DaysEnd=1 ; Then Jan 18 (=Jan 19+DaysBegin) is the first dir that will be created. ; Then Jan 19 will be created. ; Then Jan 20 (=Jan 19+DaysEnd) will be created. ; OldVFS will be performed on Jan 18 ; NewVFS will be performed on Jan 19 and Jan 20 ; the shortcut/symlink will be created on Jan 18 (since DaysBegin starts there). ; ; Leaving out any part of it will cause the line to be skipped, you can fill in a empty string tho. ; The DatedDirPath as well as the VirtualPath should use time cookies like the ones mentioned below ; %a Abbreviated weekday name ; %A Full weekday name ; %b Abbreviated month name ; %B Full month name ; %c Date and time representation appropriate for locale ; %d Day of month as decimal number (01 - 31) ; %H Hour in 24-hour format (00 - 23) ; %I Hour in 12-hour format (01 - 12) ; %j Day of year as decimal number (001 - 366) ; %m Month as decimal number (01 - 12) ; %M Minute as decimal number (00 - 59) ; %p Current locale’s A.M./P.M. indicator for 12-hour clock ; %S Second as decimal number (00 - 59) ; %U Week of year as decimal number, with Sunday as first day of week (01 - 53) ; %w Weekday as decimal number (0 - 6; Sunday is 0) ; %W Week of year as decimal number, with Monday as first day of week (01 - 53) ; %x Date representation for current locale ; %X Time representation for current locale ; %y Year without century, as decimal number (00 - 99) ; %Y Year with century, as decimal number ; %z, %Z Time-zone name or abbreviation; no characters if time zone is unknown ; %% Percent sign ; As in the printf function, the # flag may prefix any formatting code. In that case, the meaning of the format code is changed as follows. ; Format Code Meaning ; %#a, %#A, %#b, %#B, %#p, %#X, %#z, %#Z, %#% # flag is ignored. ; %#c Long date and time representation, appropriate for current locale. For example: Tuesday, March 14, 1995, 12:41:29. ; %#x Long date representation, appropriate to current locale. For example: Tuesday, March 14, 1995. ; %#d, %#H, %#I, %#j, %#m, %#M, %#S, %#U, %#w, %#W, %#y, %#Y Remove leading zeros (if any). [TimeSettings] Use=UTC ; Use UTC time or localtime, UTC time has no summer/winter time, Local has summer and winter time. ; UTC - The UTC time is taken from your computer to count with, UTC is roughly the same as GMT (except a few milliseconds) ; Local - The local time is taken from your computer to coutn with, this is the time on your clock. ; Option:UTC or Local ; Default:Local ; Used for:NewDay.exe HoursAhead=1 ; This number of hours gets added to the UTC or Local time to create directories that are ahead of the current time. ; Default:0 ; Used for:NewDay.exe [Zip] Clean=TRUE ; Clean a zipfile with the options mentioned below. ; Default: FALSE ; Used for: FTPLogger ;SkipFile=c:\ftpserver\SkipFiles.txt ; This points to a file in which various nfo files and other files are mentioned ; that should be removed from the zipfile ; Default: no file ; Used for: FTPLogger ;KeepFile=c:\ftpserver\KeepFiles.txt ; This points to a file in which various nfo files and other files are mentioned ; that should be kept in the zipfile ; You can use the purge.txt file from zipclean if you use that program. ; Default: no file ; Used for: FTPLogger CleanComments=TRUE ; (TRUE/YES/1/FALSE/NO/0) Clean global zipfile comments. ; Default: FALSE ; Used for: FTPLogger CleanFileComments=TRUE ; (TRUE/YES/1/FALSE/NO/0) Clean comments for the individual files and dirs in the zipfile. ; This setting is very handy to clean a zip file without using SkipFile= and KeepFile= ; Default: FALSE ; Used for: FTPLogger CleanExtraNfo=TRUE ; (TRUE/YES/1/FALSE/NO/0) Use intelligent nfo cleaning, this causes extra nfo's in a zip file to be removed. ; Default: FALSE ; Used for: FTPLogger [FTPServer] ServerType=DEFAULT ; Default: DEFAULT ; Used for: FTPLogger.exe, OnDirDeleted.exe, OnDirCreated.exe ; Choose it to set to one of the following. ;ServerType=ioFTPD ; Some servers have special ideas about for example how to start a command. ioFTPD is one of those. Therefore to use ioFTPD you MUST ; use this setting. When you do so, then the parameters USER=.. FILE=.. DIR=.. should no longer used but the parameters as ioFTP gives them ; are used. ; find your ioFTPD.ini and change/add: ; [post] ; rmd = c:\FTPServer\OnDirDeleted.exe ; Do not use parameters, they are automatically chosen. ; Meaning: FTPLogger.exe "full-file-path" CRC "virtual path" will be called. ;ServerType=WarFTPD ; WarFTP 1.67 seems to trigger the upload event twice, so now you can disable the making of the same line in the log file, ; with this option. ;ServerType=RaidenFTPD ; For raidenftpd extensions ;ServerType=BPFTPD ; For G6/BPFTPD ;ServerType=GuildFTPD ; For GuildFTPD ;ServerType=Serv-U 2.x ;ServerType=Serv-U 3.x ;ServerType=Serv-U 4.x ;ServerType=Serv-U 5.x ;ServerType=Serv-U 6.x ; For the appropriate Serv-u version ;ServerType=Cesar ; For Cesar FTP server ;ServerType=DEFAULT ; For dos box or anything else [Messages] ErrorDupe=DUPE:%[DirName] already exists in %[DupeDirName] ; This needs the string you want to tell people why the dir was a dupe. In this string %[DirName] is replaced with ; the dirname of the dir that failed to create and %[DupeDirName] is replaced with the dir that caused the dupe to occur. ; This option only works if you use the ASK interface. ; Default: ErrorDupe=DUPE:%[DirName] already exists in %[DupeDirName] ErrorMatch=BANNED:%[DirName] is banned due to banned word: %[DupeWord] ; This line holds the error to be given if a bad match is found. %[DirName] will be replaced by the dirname itself and ; %t will be the matching Delete= tag, %[DupeWord] will be replaced by the path of the dir itself ; This option only works if you use the ASK interface. ; Default: BANNED:%[DirName] is banned due to banned word: %[DupeWord] ErrorDupeList=DUPE:Dir %[DirName] blocked by %[DupeList], already created at:%[DateTime] ; This is the message given when a file gets blocked by a dupelist. ; This option only works if you use the ASK interface. ; Default: This is the message given when a file gets blocked by a dupelist. MsgCreated=%[DirName] created ; This is the message given when a dir gets properly created. %[DirName] gets replaced by the dirname itself. ; This option only works if you use the ASK interface. ; Default: MsgCreated=%[DirName] created [ioFTPD] NewVFS=!vfs:add 777 0:0 %[Dir] ; Default: no setting ; Used for: NewDay.exe ; command being performed on the newly created dirs, here %[Dir] is replace automatically with the complete path to the newly created dir OldVFS=!vfs:add 755 0:0 %[Dir] ; Default: no setting ; Used for: NewDay.exe ; command being performed on the older dirs (Today-DaysBack) so if its 31-jan it works on 30-jan, , here %[Dir] is replace automatically with the complete path to the old dir TagChmod=!vfs:add %[FileChmod] %[UID]:%[GID] ; set the tag chmod with this line. Only the %[UID] and the %[GID] cookies are used here. You can of course also do things like !vfs:add 777 0:0 ; %[FileChmod] will be the filename/dirname that is concerned in this case. Which will be the nfo file or the diz file or the tag dir etc. ; Default:!vfs:add %[FileChmod] %[UID]:%[GID] ; Used for: FTPLogger.exe