Click here to Skip to main content
15,890,557 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi everyone
i want to upload file from local to remote using HTTP protocol for this i want to used window form on client end.
on window form two text box one for server URL and other for local file. there is no restriction that file sent only specific server but its work dynamically mean whatever server URL enter file is uploaded on it using its credentials (if have).
when the file is uploaded server send back acknowledgement as response to client i.e success or failure. any idea about this.
your answer is highly appreciated for me

thanks in advance

[Wajid Khaksar]

What I have tried:

i visit lot of sites but could not find such solution that fulfill my requirement.
i am sure you guys give me excellent ideas about it
Posted
Updated 5-Nov-16 4:10am
Comments
Garth J Lancaster 4-Nov-16 21:25pm    
I'd start here, with Scenario 5

https://github.com/Microsoft/Windows-universal-samples/tree/master/Samples/HttpClient

1 solution

There are lots of options, but the simplest I think are:

SignalR see: http://www.codeproject.com/Articles/804770/Implementing-SignalR-in-Desktop-Applications

If you can not use the newer .NET framework versions, then you could give Web Services a try:
How to: Host and Run a Basic Windows Communication Foundation Service[^]
 
Share this answer
 

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