My.Computer.Network.UploadFile
What should I use for the "User" parameter of this function? Is this the name 开发者_高级运维of the account that the user logs in with? Computer name?
I am trying to send a file across to another computer on my network.
This is the username to pass for HTTP basic authentication.
If you're uploading to a site that gives a standard browser login dialog (not a normal login form), you should pass the username and password to this function.
Most web pages uses forms-based authentication with a normal login form; if so, you'll need to login using cookies and a separate HTTP request.
精彩评论