We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I'm using the following code:
void DownloadFile() { using (SyncService service = new SyncService(device)) { string path = Environment.CurrentDirectory + @"\test.txt"; using (FileStream stream = File.OpenWrite(path)) { service.PullAsync("/data/local/tmp/a.txt", stream, null); } } } void UploadFile() { using (SyncService service = new SyncService(device)) { string path = Environment.CurrentDirectory + @"\test.txt"; using (FileStream stream = File.OpenRead(path)) { service.PushAsync(stream, "/data/local/tmp/a.txt", 777, DateTimeOffset.Now, null); } } }
But nothing happends... Neither the "UploadFile" method works, nor the other. What I'm doing wrong..?
The text was updated successfully, but these errors were encountered:
You never await your task. So your service just disposed after it gone...
Sorry, something went wrong.
No branches or pull requests
What can we do for you?
I'm using the following code:
But nothing happends... Neither the "UploadFile" method works, nor the other.
What I'm doing wrong..?
The text was updated successfully, but these errors were encountered: