I ran it with a file 1142547634 bytes in size, asked for 1024000 byte pieces, and it worked.
In reply to Re: File splitting script by kyle in thread File splitting script by Alien