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

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

Description

@yorytang

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);

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions