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
0
votes
2 answers

TransferStatusChanged and TransferProgressChanged events of BackgroundTransferRequest in Windows Phone not getting called

I am implementing an app where the user will have the option of downloading the assets(approx 750MB in images, each of which is around 50KB in size). I cannot do this using the regular HttpClient since if the user presses the home button, the…
0
votes
1 answer

Does Windows.Networking.BackgroundTransfer support FTPS?

I see that Windows.Networking.BackgroundTransfer does support FTP: ftp://user:password@server/file.txt But does it support FTPS?
Jerry Nixon
  • 31,313
  • 14
  • 117
  • 233
0
votes
0 answers

BackgroundTransferRequest DownloadLocation to get the Response content

I am uploading a file to the server using BackgroundTransferRequest object. I need to access the response header sent from the server. Based on the research, I understand that there is no direct access to the Response of the request and one possible…
tavier
  • 1,744
  • 4
  • 24
  • 53
0
votes
2 answers

Windows phone BackgroundTransferRequest with authentication

I want to use BackgroundTransferRequest object to download some large documents but I can't find out how to put credentials like username and password to access the documents. I have ASP.NET MVC 3 controller which give me documents.
0
votes
1 answer

Is it possible to run background transfer from background audio agent?

I want to run Background file transfer from Background audio agent but I get error with example code which runs correct in foreground app. Here is example: string transferFileName = @"http://www.reggaeavenue.com/MP3/leave%20short.mp3"; Uri…
0
votes
1 answer

Wait till the downloading is finished Windows phone

How can i wait till the download operation is finished and want to return a status true or false back to UI .Now i am using Webclient for downloading image like this private async Task SaveCoversAsync(string CoverImageUrl) { WebClient…
Sebastian
  • 4,625
  • 17
  • 76
  • 145
0
votes
1 answer

BackgroundTransferRequest status WaitingForWiFi when TransferPreferences is set to AllowCellularAndBattery

When I create a BackgroundTransferRequest, with TransferPeferences set to AllowCellularAndBattery, I sometimes still get a TransferStatus set to WaitingForWiFi. Is there any way to force the transfer to occur over 3G? This is very weird, as…
Gustavo Guerra
  • 5,319
  • 24
  • 42
0
votes
1 answer

Provide Credentials for BackgroundTransferRequest (WP8)

When I am using HttpWebRequest I use the following code to set the Credentials HttpWebRequest request = (HttpWebRequest)WebRequest.Create(urlToCall); request.Method = "GET"; request.Credentials = new NetworkCredential(username, pass); How do I do…
0
votes
1 answer

How to set ServerCredential in Backgrounduploader in WinJS app

I called attached code below in WinJS app and keep getting this error 405 Method Not Allowed. I have changed the method property to "POST" , still the same thing. Some of the guys saying it is to do with the permission so I am trying to set the…
0
votes
1 answer

How to set Header when restoring Background Downloads

I'm trying to make some downloads using cookie authentication doing: var downloader = new BackgroundDownloader(); downloader.SetRequestHeader("Cookie", "JSESSIONID=" + App.LoginGateway.JSESSIONID); downloader.SetRequestHeader("Cookie", "JSESSIONID="…
Victor Laerte
  • 6,446
  • 13
  • 53
  • 102
0
votes
1 answer

Show notification when background upload complete

I am using BackgroundUploader to upload video and I need to show notification when upload complete even when app is in background. for this I used toast notification when upload success, its working but only when app is in foreground(active)…
Abhishek
  • 995
  • 13
  • 28
0
votes
0 answers

Windows Phone BackgroundTransferService Max (Pending)Queue Size

Based on the msdn statement, windows phone can have a maximum of 25 outbound background transfers per application.I tried the same and got only 5 transfers in the queue. Please clarify the difference between the statement and practical execution.
0
votes
1 answer

Adding new BackgroundTransferRequest's once app is in background

Adding BackgroundTransferRequest's to the BackgroundTransferService once the app is in the background is successful, but the new requests don't actually run until the app comes back to the foreground. Not so great for my scenario of downloading lots…
Gavin
  • 5,629
  • 7
  • 44
  • 86
0
votes
1 answer

BackgroundTransferService TransferPreferences ambiguity

I noticed this paragraph in the BackgroundTransferService documentation: This property allows applications to request that background transfers proceed when only a cellular connection is available and when the device is on battery power. This is…
Léon Pelletier
  • 2,701
  • 2
  • 40
  • 67
0
votes
1 answer

Alternative for Background Transfer Service to run uploads in background

I've used background transfer service (BTS) API for Windows Phone in two apps and experienced very bad problems. It became one of the main source of bug in the two apps as for some reasons, download are often refusing to start, whatever I set in the…
Léon Pelletier
  • 2,701
  • 2
  • 40
  • 67