Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
ファイルをダウンロードせずにURLから直接アップロードしてサーバーにアップロードするにはどうすればよいですか??
リンクがあるかのように
http://whatever/test.pdf
テキストボックスに入れてアップロードしてください!!
使用System.Net.WebClient:
System.Net.WebClient
var url = textBox1.Text; var client = new System.Net.WebClient(); client.DownloadFile(url, "c:\\path-to-save-file-on-server\\test.pdf");