What is the best way for a C# .exe program, to upload to a php server script that accepts file uploads.
If using .NET WebClient is the only way, is there a way for WebClient to specify the parameter name, rather than just the file?
For example, the C# .exe would do basically what a simple html form would do in this case.
<input name="filename" type="file" />
How do you specify this name parameter using WebClient?