如何在Visual Basic中上传文件? [英] How do I upload a file in visual basic?
本文介绍了如何在Visual Basic中上传文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
好,所以当我键入My.computer.filesystem.uploadfile("www.mediafire.com/#myfiles,"电子邮件,密码")
OK so it wont work for me when i type My.computer.filesystem.uploadfile("www.mediafire.com/#myfiles, "email, "password")
这就是我的帐户.我在做什么错.
and that is my account to. what am i doing wrong.
推荐答案
try using
My.Computer.Network.UploadFile("FileName.ext", "http://www.mediafire.com/myfiles",用户名",密码",True,500)
My.Computer.Network.UploadFile ("FileName.ext", "http://www.mediafire.com/myfiles","username","password",True,500)
这篇关于如何在Visual Basic中上传文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文