Share via


Transferring a file from a network resource (HTML)

[This article is for Windows 8.x and Windows Phone 8.x developers writing Windows Runtime apps. If you’re developing for Windows 10, see the latest documentation]

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

Topic Description

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.

 

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