Click here to Skip to main content
16,018,458 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi. Im going to use socket to send a file to server by C Sharp.

Im not an administrtor in the server. i only create a "client" to send it.

My question is: if i dont have a "server" to receive, can the file be sent? And... where is it in the server?

i know a location in the server which can store it, like this: example.com/upload/lib

but i dont know how to insert the code with that path in my program

As a normal user, how can i do it?

Thx!

Kent
Posted

1 solution

The first thing you need to check is that the server has a running application that will accept your socket call. Secondly, you cannot influence where your file is stored, that is controlled by the server. So unless you are the person writing the server side code you have no influence over it.
 
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