apache / cordova-plugin-file-transfer

Apache Cordova File Transfer Plugin
https://cordova.apache.org/
Apache License 2.0
596 stars 888 forks source link

C# receive file from FileTransfer #189

Closed diegofuks closed 6 years ago

diegofuks commented 6 years ago

Hi, what's the best way to receive the file from FileTransfer using C# RestFul service and save to the server? I've tried to implement like this:

public string UploadFile(Stream stream) {

but the stream wont contain the filename and cant I need to know the file extension at least. thanks!

maverickmishra commented 6 years ago

With the new features introduced in XMLHttpRequest, this plugin is not needed any more. Migrating from this plugin to using the new features of XMLHttpRequest, is explained in this Cordova blog post.