R
randall g
Hello, I have been trying to figure out how to make a VB.NET application
program (not a web page) upload a file to a .NET website. File upload
from a webpage form is straightforward and works fine, but when I try to
use the WebClient.UploadFile method in an application program (to the
same webpage), the file is transmitted but ignored by the web page.
I suspect there are some additional form variables that are required,
but there does not seem to be a way to set any with the UploadFile
method. I have come accross some comments that the UploadFile method is
basically broken.
Is there a working example of this anywhere? I have been unable to find
one.
program (not a web page) upload a file to a .NET website. File upload
from a webpage form is straightforward and works fine, but when I try to
use the WebClient.UploadFile method in an application program (to the
same webpage), the file is transmitted but ignored by the web page.
I suspect there are some additional form variables that are required,
but there does not seem to be a way to set any with the UploadFile
method. I have come accross some comments that the UploadFile method is
basically broken.
Is there a working example of this anywhere? I have been unable to find
one.