Language: HTML | XAML

Transferring a file from a network resource (HTML)

Applies to Windows and Windows Phone

Purpose

Enable your app to transfer files to and from locations on the web. JavaScript implementation options include HttpClient and Background Transfer.

Background Transfer is primarily designed for long-term transfer operations for resources like video, music, and large images. For a high-level look at Background Transfer, see Transferring data in the background. HttpClient is recommended for short-term operations involving transfers of smaller resources (a few KB, for example).

In this section

TopicDescription

How to download a file

This topic will show you how to download a file.

How to Upload a file

This topic will show you how to upload data or a file from a device to the Internet.

 

Related topics

Other
How to configure network capabilities
Roadmap for Windows Runtime apps using JavaScript using JavaScript
Reference
HttpClient
Windows.Networking.BackgroundTransfer
Samples
Background Transfer sample
HttpClient sample

 

 

Show:
© 2014 Microsoft