# Devkinsta fail to transfer local file with sync function

**URL:** <https://community.kinsta.com/t/devkinsta-fail-to-transfer-local-file-with-sync-function/2213>\
**Category:** Application Support\
**Created:** [April 10, 2023, 9:02pm UTC](https://community.kinsta.com/t/devkinsta-fail-to-transfer-local-file-with-sync-function/2213 "2023-04-10T21:02:04Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Agus](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/agus/32/1515_2.png) [@Agus](https://community.kinsta.com/u/Agus)\
**Post date:** [April 12, 2023, 2:29am UTC](https://community.kinsta.com/t/devkinsta-fail-to-transfer-local-file-with-sync-function/2213/3 "2023-04-12T02:29:11Z")

</div>

Hello @fdsecarriere 👋 , welcome to DevKinsta community!

Thank you for reaching us out!  
Regarding that DK0065 error, just wanted to check if you checked and followed the solution what’s mentioned on our [documentation here](https://kinsta.com/knowledgebase/devkinsta/error-codes/#dk0065) ?

That `DK0065` error usually could be caused by a failed connection to the remote server (your Staging server) or unpredictable issues related to the uploaded files. This step uses rsync as a tool to share files with the remote site, so anything that can cause rsync to fail can be the root cause of this issue.

On the [other thread](https://community.kinsta.com/t/failed-to-upload-local-sites-on-push-to-staging-dk0065/1617/6) (similar DK0065 error), my colleague, Kevin, suggested to remove any unnecessary large files (old/unnecessary zip files e.g: from old backups, etc.) both from the local computer and on the staging server (to keep them synchronized) which [helped the other user there to solve this failed to upload local site DK0065 issue](https://community.kinsta.com/t/failed-to-upload-local-sites-on-push-to-staging-dk0065/1617/7). So, you may also want to check yours (if there’s such large unnecessary file() that can be removed/deleted) and wondering if it’s the same solution that may help you as well.

Please let us know if we can assist you further.

Cheers,  
Agus

---

_[View the full topic](https://community.kinsta.com/t/devkinsta-fail-to-transfer-local-file-with-sync-function/2213)._
