Open maxiaoping opened 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)
Added the local folder backup function