Handling attachment Query
Nilay Hazra <[email protected]> Fri, 29 Aug 2003 12:39:12 +0530
| Newsgroups | gmane.comp.windows.devel.soap.general |
|---|---|
| Message-ID | <[email protected]> |
Hi, I am using MS-SOAP tookit 3.0 and I need to upload a file from client to the IIS server. Handling Attachment samples provided with the SOAP toolkit is serving my purpose, but here I need to mention the file name, into which the content of the attachment will be saved in the server. (IReceivedAttachment has a method SaveToFile where we must have to provide the file name into which the content of the attachment will be saved). But my requirement is to save the file as the same name and I don't want to hardcode the file name in the server application. How can I accomplish it? In the server application, is there any way to get the file name the content of which is sent to the server? Any help will be appreciated. nhazra