phpZipScript Configuration file reference
Sfv Related

Back to manual index
Back to index

Content:
SfvCheck
SfvFirst
SfvCleaning
SfvCommentHeader
SfvCommentFooter
MultiCDTemplates
AllowNotInSfv
SfvCheck
Use this option to make the script perform a sfv check.

Possible values : Notes:
eg:
SfvCheck=0
SfvCheck=1
SfvFirst
Use this option to deny any file upload before a sfv.

The exceptions to this rule are : zip files, nfo files, file_id.diz
eg:
SfvFirst=false
SfvFirst=true
SfvCleaning
When set to true, this option makes the script rewrite the sfv getting rid of any comments or empty lines.
eg:
SfvCleaning=true
SfvCleaning=false
SfvCommentHeader
This option allows you to specify a line or a file that will be put in the beginning of the sfv as a comment.

You can set either a file path or directly a comment line (in this case it can only be one line long).
If you put a file name without any path, the script will look into its path for the the specified file.

Leave the option empty if you do not want to add any comment at the beginning of the file.
eg:
SfvCommentHeader=c:\some path\sfvheader.txt
SfvCommentHeader=header.txt
SfvCommentHeader=
SfvCommentFooter
This option allows you to specify a line or a file that will be put in the end of the sfv as a comment.

You can set either a file path or directly a comment line (in this case it can only be one line long).
If you put a file name without any path, the script will look into its path for the the specified file.

Leave the option empty if you do not want to add any comment at the end of the file.
eg:
SfvCommentHeader=c:\some path\sfvfooter.txt
SfvCommentFooter=footer.txt
SfvCommentFooter=
MultiCDTemplates
This options allows you to set up the folders that should be considered as part of a multi-CD release.
By multi-CD release, you should understand : a release that is made of multiple sub-folders.

Just put all the folders names by seperating them with a space.
You can use the special character # that correspond to any digit (from 1 to 9).

WARNING: the script will fit exactly the templates. For instance if you set :
MultiCDTemplates=CD# sample
Then the script won't consider a folder named "CD10" as a release sub-folder.
eg:
MultiCDTemplates=CD# CD##
MultiCDTemplates=CD# CD## samples sample subs files
AllowNotInSfv
This option allows you to set the files that will be allowed even if there are not in the release sfv.

Note: this option will never allow someone to upload a file defined in the unwelcomed.conf file.
eg:
AllowNotInSfv= *.avi
MultiCDTemplates= blabla* f??k.all