Federico,
Are you supposed to send the file as a file, or do you want to send the
contents of the file? If you want to send the contents of the file as part
of the request, then chances are you have to POST the contents, and you can
do so with one of the overrides for DownloadData.
As for uploading an actual file, you can use the UploadFile method on
the WebClient class to upload the appropriate file to the server.
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
-
mv*@spam.guard.caspershouse.com
"Federico Bari" <fe********@tiscali.it> wrote in message
news:bu**********@lacerta.tiscalinet.it...
I have the necessity to send an xml file to a CGI application using the
https protocol (then the CGI application have to store the datas of the
xml file in a mySQL database). I saw the useful WebClient class for C#, but it
isn't explained in which variable i can find the file on the server side.
Can you help me? thank you! Federico.