-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Copy fails when it is not a synology office file #18
Comments
Still SYNO.Office.Node works better for Synology Office. I propose this solution:
|
Let me see. |
请问这段代码能解决问题吗? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Copy works well for synology office files like:
synd.copy("/mydrive/test.odoc","/mydrive/tests/test.odoc")
Always gives error for other files:
synd.copy("/mydrive/test.pdf","/mydrive/tests/test.pdf")
Using SYNO.SynologyDrive.Files in the code solve the issue for me, I don't know if this could be included/replace in files.py:
`def copy(self, source: str, dist: str) -> dict:
"""
`
The text was updated successfully, but these errors were encountered: