While doing routine WordPress updates I came across this error:
cURL error 18: transfer closed with X bytes remaining to read
After some investigation I found that my hosting server was unable to download files. Much of the advice I found suggests issues with cURL, PHP, or WordPress. If possible I advise checking the host server first. Verify that it can download the update file.
in my case it is in localhost, I am running wordpress in xampp, What should I do??
@Abhishek your platform shouldn't matter. If you have console access to your hosting server I suggest logging in and attempting to download a file outside of the platform. If not, you could mock a simple cURL call (again outside of XAMPP or whatever platform you're using). If all else fails you should still be able to update Wordpress manually.
An information technology professional with twenty three years experience in systems administration, computer programming, requirements gathering, customer service, and technical support.