haiwen / seadroid

Android client for Seafile
Other
540 stars 277 forks source link

BackupFolder #958

Open maxiaoping opened 1 year ago

maxiaoping commented 1 year ago

Added the local folder backup function

coxtor commented 1 year ago

Thanks for the implementation however, this PR breaks at least manual file upload with error :

I/LoggingInterceptor: {"error": "Invalid relative path."}
E/UploadTask: Upload exception 599 File upload failed
W/System.err: SeafException{code=599, msg=File upload failed}
W/System.err:     at com.seafile.seadroid2.SeafConnection.uploadFileCommon(SeafConnection.java:926)
W/System.err:     at com.seafile.seadroid2.SeafConnection.uploadFile(SeafConnection.java:884)
W/System.err:     at com.seafile.seadroid2.data.DataManager.uploadFileCommon(DataManager.java:714)
W/System.err:     at com.seafile.seadroid2.data.DataManager.uploadFile(DataManager.java:708)
W/System.err:     at com.seafile.seadroid2.transfer.UploadTask.doInBackground(UploadTask.java:97)
W/System.err:     at com.seafile.seadroid2.transfer.UploadTask.doInBackground(UploadTask.java:23)