Upload files to a remote server

前端 未结 3 1357
梦如初夏
梦如初夏 2021-01-15 05:27

I need to upload files from my asp.net (C#) page residing in the web server to a remote server.

I managed to upload files to remote server from localhost using this

3条回答
  •  梦谈多话
    2021-01-15 05:52

    You need a virtual directory on your webserver to upload to. In code you'll have to use Server.Mappath("virtual path") function to get its server path and then save to it.

提交回复
热议问题