The "Premature EOF" error is usually produced when working with attachment object and the job reaches a query time out on Salesforce side (2 minutes). Salesforce stops the job while from dataloader.io from MuleSoft is waiting for the data which is truncated and therefore the Premature EOF (End Of File) error is reported.
To avoid this error the query should be simplified so it can be processed faster.
Please, notice that sometimes the query does not have too much complexity but in case your SF org has a big number of attachments and your query doesn't have any condition but the LIMIT option is used to reduce the number of exported records this can easily reach the query time out.
In that case you should apply filters to reduce the queried number of records instead of using the LIMIT option. You can use for example the CreatedDate field to filter the number of attachments.
This can also happen if the number of exported attachments is too big. Notice that usually the number of attachments that are exported successfully is around 2000 per task run (this is not a limit set on dataloader.io from MuleSoft side but what usually avoids reaching some other limitation on Salesforce API).
005318689

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.