PDA

View Full Version : Problem with .mpg .avi files


spirit
03-11-2006, 01:39 PM
Hi
Im having problems like in the topic
im running ioftpd5.8.5 + php_psio0.1.5+nxtools1.0.2
Problem is that while im uploading mvid release (.mpg .avi)
While uploading a release it goes like follow - first .sfv:
[1] 226-.----=== ZipScript-PHP ===--,d1'--=== ported ===---.
[1] 226-| + SFV-file: oK! |
[1] 226-`-[--------------------]------------------[ 0/1 ]--'
[1] 226 Transfer complete.

Next .nfo:
[1] 226-.----=== ZipScript-PHP ===--,d1'--=== ported ===---.
[1] 226-| + File: ok! |
[1] 226-`--------------------------------=====-------------'
[1] 226 Transfer complete.

and then the .avi or .mpg file:
file gets upped and its complete but script still shows incomplete in tag:
[] - 0% Complete - []
and there is still the file-missing link

maybe ive made something wrong or i didnt do what was needed in config file - if u know what can it be please point me where i can change it to make those mvid releases complete
tnx for any help

EwarWoo
03-11-2006, 08:22 PM
You sure the file is correct to teh sfv? The sfv is normally zips or rars.
If it is correct then check your settings as the zs is set to not check movie files as they're normally samples.

spirit
03-12-2006, 07:19 AM
You sure the file is correct to teh sfv? The sfv is normally zips or rars.
If it is correct then check your settings as the zs is set to not check movie files as they're normally samples.

Yea .sfv file is fine - yea and u r right by default thse files types are allowed without any checks $allowed_types = "jpg,avi,mpg,cue,m3u"; if i remove avi and mpg from $allowed_types then what about samples coz they are in .mpg.
Ive tried this configuration ive removed avi and mpg from allowed_types and now it shows mvid complete but next ive tried uploading sample (.mpg) and im getting and error like this:
[1] 226-.----=== ZipScript-PHP ===--,d1'--=== ported ===---.
[1] 226-| + CRC-Check: SKIPPED! |
[1] 226-
[1] 226-Warning: Division by zero in L:\ioFTPD\php_psio\funcs.php on line 4
[1] 226-`-[--------------------]------------------[ 0/0 ]--'
[1] 226 Transfer complete.

How to prevent that?
tnx for your help