If file transfer fails due to size limit, or the script just does does post. Php will handle it correctly.