通过https上传和发送文件的代码 [英] code to upload and send files through https
本文介绍了通过https上传和发送文件的代码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好,
大家晚上好...
我一直在开发用于上传文件的窗口应用程序.目前,我正在使用ftp上传.谁能建议代码通过http上传和发送文件?
在此先感谢..
Hai everybody,
Good Evening to all...
i have been developing window application to upload files.currently i am using ftp to upload. can anyone suggest code to upload and send file through http''s?
thanks in advance..
推荐答案
Jai,
我搜索了您,得到了
Hi Jai,
I did a search for you and got this !
Check it out.
您可以发送HTTP请求
您需要执行"POST"
您需要将文件编码为字符串或二进制
http://msdn.microsoft.com/en-us/library/d4cek6cc (v = vs.100).aspx [
You can send it HTTP Request
You would need to do a "POST"
You need to encode the file as a string or binary
http://msdn.microsoft.com/en-us/library/d4cek6cc(v=vs.100).aspx[^]
这篇关于通过https上传和发送文件的代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文