Skip to content
This repository has been archived by the owner on May 5, 2021. It is now read-only.

How to upload file and save it to disk? #64

Open
yorytang opened this issue Jan 14, 2021 · 0 comments
Open

How to upload file and save it to disk? #64

yorytang opened this issue Jan 14, 2021 · 0 comments

Comments

@yorytang
Copy link

i have try to save file in local disk using FileStream,but no any file saved in disk C, no any run error.
code as below:

var fs = new FileStream(@"C:\TQSissue_20201231.xlsx", FileMode.CreateNew);
await file.Data.CopyToAsync(fs);

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant