Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 75885

How to know if file is exists on dropbox or not..?

$
0
0

Hello Team
I am new to Xamarin and I am trying to sync Drop Box using "Dropbox Core API" component.
I am able to upload file on Dropbox without any issue but I am not able to search file (if file is exist or not). I also want to delete file from Dropbox and there is no specific code found.
Please suggest me how can I do that?

I have use following code , but I am getting SearchFailed (400 error code).

    `var restClient = new RestClient (Session.SharedSession);

    restClient.SearchResultsLoaded += (object sender, RestClientSearchResultsLoadedEventArgs e) =>  {

    };

    restClient.SearchFailed += (object sender, RestClientErrorEventArgs e) => {

    };

    restClient.SearchPath (DropboxPath, FileName);
    `

Viewing all articles
Browse latest Browse all 75885

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>