Comments
-
As you said use FileSystemWatcher Class for listen local directory changes, I have used it. And for listen server side changes I have used list_folder_continue method of Dropbox API. The problem is If new file Uploaded on server then it download in local directory,but when file is downloaded and created, It call…
-
Thank You for your Help.
-
Sorry, It was my mistake. My access token was expired so that it shows Invalid Cursor. Now my problem is solved when I have update my AccesToken. I am really very sorry to waste your time.
-
I am using following Code. public class SyncOperation { static DropboxClient dbx = new DropboxClient("MyAccessToken"); public async void applyChanges() { ListFolderContinueArg lfg = new…
-
Thank You for your quick reply.
-
use following code for upload request byte[] byteArray = System.IO.File.ReadAllBytes(@"C:\Srusti\codingstandards.docx"); System.IO.MemoryStream stream1 = new System.IO.MemoryStream(byteArray); var updated = await dbx.Files.UploadAsync( folder + "/" + file,WriteMode.Overwrite.Instance, body: stream1);