Click here to Skip to main content
15,891,204 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I have a requirement called one server in Internet Information Service and watching its local folder on hosted machine. Once file created in this folder i will send to more than one client which will contains some folder path over HTTP.So that server needs to send file to client using Window Communication Foundation or web service, then client will also send file to server. How can i configure this system.can anyone give me suggestion please.I have been searching day ago but not getting any solution.

What I have tried:

i have tried in wdc to send file from server to multiple clients over http, but i get only calling service from client only.
Posted
Updated 8-Jun-16 21:57pm

1 solution

Hello, refer these CodeProject articles,
1. Transfer File Using WCF[^]
2. WCF Streaming: Upload/Download Files Over HTTP[^]
 
Share this answer
 
Comments
mmani013 9-Jun-16 4:25am    
hi thanks for your reply.i have tried this solution Transfer File Using WCF.
but both client and server are in same solution in this.But client will be network.here in server project they have referenced client since it is in same solution.but while i am configure in remoting how can i do that?

Can u suggest me?
VR Karthikeyan 9-Jun-16 4:46am    
Which one you are referring? First one or Second one?
mmani013 9-Jun-16 5:06am    
first one..in that both client and server are in same solution.
but need to access client from remote
VR Karthikeyan 9-Jun-16 5:22am    
Change the endpoint address in app.config of Client project to point your server and host this service in your server, after hosting, consume this service in Server project.
mmani013 9-Jun-16 5:27am    
endpoint address is empty over here in appconfig.here i need to give my url from IIS? and here is my server url after hosting in iis hole project.
AM i correct?
http://xedt027/leapservice/Transfer.svc?wsdl

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900