Upload files with HTTPWebrequest (multipart/form-data)

后端 未结 21 2565
独厮守ぢ
独厮守ぢ 2020-11-21 04:53

Is there any class, library or some piece of code which will help me to upload files with HTTPWebrequest?

Edit 2:

I do not

21条回答
  •  北恋
    北恋 (楼主)
    2020-11-21 05:25

    Client use convert File to ToBase64String, after use Xml to promulgate to Server call, this server use File.WriteAllBytes(path,Convert.FromBase64String(dataFile_Client_sent)).

    Good lucky!

提交回复
热议问题