phpZipScript Configuration file reference
Zip Related
Back to manual index
Back to index
Content:
ZipCheck
ZipCleaning
CommentFile
AllowDizUpload
DizInMessageFile
ZipFixing
ZipCheck
Use this option to make the script perform a zip check.
Possible values :
0 : disable zip check (assume RaidenFTPD takes care of it)
1 : enable zip check, append .bad to bad files names
2 : enable zip check, delete bad files
Notes
:
you have to set ZipCheck to true if you are using a version of RaidenFTPD older than v2.2 build 556.
If you are using v2.2 b556+, I HIGHLY advice you to use RaidenFTPD integrated zipcheck and set ZipCheck to 0 in phpZipScript.conf.
If you set this option to 1 or 2, you should disable raidenFTPD by setting the ZIP_CHK option of the .ftpd to 0.
eg:
ZipCheck=0
NFOList
This option is no longer used (since phpZipScript 0.53b).
See the unwelcomed.conf file for more info on how works the new system.
ZipCleaning
When set to true, this option makes the script clean the zip files from unwelcomed nfos contained in NFOList.
Note
: make the script a bit slower.
eg:
ZipCleaning=true
CommentFile
This option allows you to specify a file that will be put in the zip file main comment. This comment will replace any existing comment.
TIPS
:
to simply clean the zip file main comment set:
CommentFile=nul
(nul is an OS special file that 0 byte big ;))
to leave the zip unchanged, set this option to false.
eg:
CommentFile=site.txt
CommentFile=nul
AllowDizUpload
If you set this option to false then users won't be able to send file_id.diz files.
The file_id.diz should be extracted by the script itself and the script should still be working fine.
eg:
AllowDizUpload=false
AllowDizUpload=true
DizInMessageFile
Let you tell the script whether it should or not insert the file_id.diz in the .message file
eg:
DizInMessageFile=false
DizInMessageFile=true
ZipFixing
With this option you can tell the script to try to fix bad zip files.
Possible values :
0 : no zip fixing
1 : fix bad zips
2 : try harder to fix bad zips (slower)
Note :
this option only works if you have ZipCheck set to 1 or 2 !
eg:
ZipFixing=0
ZipFixing=1