use phtread to do send file