Udgin
Udgin

Reputation: 119

Universal Windows Platform. Save files(any type) to Remote Storage - USB (or HDD)

I am trying to create a simple app using Universal Windows Platform - basically this application is for Windows IOT Core (Raspberry Pi 3). Mentioned application should support saving files to remote storage (Remote Devices). Unfortunately it should support saving of any file types as this files will be downloaded from internet so this link (Access the SD card) is not useful. Could you please help me ? Is this functionality supported by UWP at all ? Thanks!

Upvotes: 1

Views: 295

Answers (1)

Grace Feng
Grace Feng

Reputation: 16652

Unfortunately it should support saving of any file types as this files will be downloaded from internet so this link (Access the SD card) is not useful.

Good question, yes you're right, in UWP apps, we can only save the registered type of files into remote device, you can register all types that your know, but it is unavoidable that downloaded files with unregistered file types are also needed to be saved into SD card. Wildcard here is also not supported to register for all types.

Is this functionality supported by UWP at all ?

AFAIK, it is not supported. The Design Philosophy of UWP app is for security, that's why it only deals with well-known file types. Handling with unknown file types violates with the philosophy, what if your downloaded file happens to be some worm spam that ends with .bat etc...You may also try to submit a request to add this new feature for development through the Windows Feedback tool, but as my personal opinion, this could be an unreasonable request.

Upvotes: 1

Related Questions