> > I use the TAR.php file for extract tar.gz file. The tar file extracted
> > fine, but the tar class raises the 'Invalid block size 351'. Why? And
> > how can I discard this error.
> 
> Basically, tar writes in block sizes of 512 bytes so you are receiving
> an invalid block size smaller than 512 which has a size of 351. Not sure
> how you can suppress these messages via TAR.php. However, if you get a
> new tar files that has the blocking correct you will not receive that
> error.

You might be able to use the -B option to tar to suppress the block size
error. However, I have not tested that out before and I am not 100% sure
of the results that you will see. But possibly an option.

example:

tar -xvfB file.tar


--
BigDog

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to