Questions tagged [background-transfer]

Background Transfer for Windows Phone or Windows Store apps

Refers to the process of performing a background transfer within Windows Phone or Windows Store apps.

65 questions
1
vote
1 answer

Setting the user agent in a Windows Phone 7.1 (SDK 7.1.1) BackgroundTransferRequest

It's very easy to change the referer by simply setting the appropriate header, however, I cannot find a way to change the user agent ("ZDM/4.0; Windows Mobile 7.0;") to any other value. I tried the following code so far: var request = new…
0
votes
0 answers

UWP BackgroundTransfer StartAsync but don't wait for task to complete

Is it possible to start DownloadOperation but not to wait for the download to complete? Basically, I want to write a background task that runs on Timer, schedules some number of downloads and finishes. Code that handles progress/complete is planned…
Tomy
  • 823
  • 1
  • 7
  • 11
0
votes
1 answer

How can I cancel DownloadOperation?

For downloading I use BackgroundDownloader. If user needs to delete a file(status = downloading), I need to cancel DownloadOperation. But I did not find method in the DownloadOperation`s list. Tell me, please, how to implement this?
0
votes
1 answer

UWP BackgroundTransfer (CreateDownload / GetCurrentDownloadsAsync) Exception

I am using BackgroundTransfer API for UWP and during my development I achieve much more than the limit (200) of transfer, until now this not become a problem because windows management cancel the transfers over the limit. But now, something occurs…
0
votes
0 answers

Resume large file downloads using Background downloader

I'm working on a project where I need to download large files using Background downloader. The url generated from a server for downloadable file will expire every few hours. So if the download is not completed within the session the server will send…
0
votes
1 answer

UWP C# BackgoundUploader not working

SO I'm trying to upload a file to my webserver using C#, UWP, and the background uploader namespace. Here is my C# code: private async Task JamCloud_Upload_MP3() { try { Uri uri = new…
Brizzler
  • 79
  • 9
0
votes
2 answers

[UWP]Background task terminated after ~10-20 minutes (download files)

I'm syncing files in UWP APP. I'm using a background task and ApplicationTrigger. If I debug my code (I mean if a debugger is attached) it works, but if I run installed application, the background task is terminated after 10-20 minutes. I have to…
Ania
  • 65
  • 7
0
votes
0 answers

C# BackgroundTransferContentPart Put Multiple Files

I have a BackgroundUploader instance, with which i upload some files to a webdav server with put method. This works without any problem. Now in the BackgroundUploader namespace, there is a BackgroundTransferContentPart method, to upload multiple…
andy
  • 509
  • 1
  • 8
  • 21
0
votes
0 answers

iPhone iOS 7 - Background Download NSUrlSession

Welcome, Now i'm implementing NSURLSession Download Process but i have an issue. Suppose i have a list and user clicked to download the 1st element in the list then decided to go back to previous view ,after that re-opened the download view again ,…
0
votes
1 answer

File upload from Windows Phone App - Test with Localhost Apache (XAMPP)

I want to upload a video file to a local server (apache over XAMPP) by using BackgrountTrasfer. I have a test folder (xampp/htdocs/test/) but get an 404 Error with "localhost/test" I get no errors if I use just localhost but I can also find no file…
0
votes
0 answers

uploading files using background transfer request method in windows phone 8

I am trying to upload a file to a local http server(http://192.168.1.123/upload.php) using background transfer request method in windows phone 8. Server will save the file after getting file name from $_FILES['userfile']['name']. [Ex:…
0
votes
2 answers

Multipart/related upload using BackgroundUploader in Windows 8.1

I want to upload a file using Multipart/related Content-Type via BackgroundUploader in windows 8.1 My code is as follows BackgroundUploader uploader = new BackgroundUploader(); uploader.SetRequestHeader("Content-Type", "multipart/related;…
0
votes
1 answer

Uploading files to Onedrive using REST API

I am trying to upload a file into OneDrive using its REST API. This is what I am trying to accomplish based on documentation available at OneDrive Rest API: POST https://apis.live.net/v5.0/me/skydrive/files?access_token=ACCESS_TOKEN Content-Type:…
AGCodes
  • 622
  • 1
  • 8
  • 22
0
votes
1 answer

resize image before upload via background transfer in winjs

I would like to resize an image picked from the gallery of the phone before uploading it via background transfer so far I have:- filePicker.pickSingleFileAsync().then(function (file) { uploadSingleFileAsync(uri, file); …
0
votes
0 answers

WP8 BackgroundTransferService thread exit message are displaying a long time even after completed downloads

I am using BackgroundTransferService in my application for downloading zip file form the server. And it works successfully for me. But it seems it gets some thread exit messages continuously even after downloading file. The messages like as…
asitis
  • 3,023
  • 1
  • 31
  • 55