N/APosted on - 11/14/2011
I have another problem with my server. I can’t still transfer my files through my server. And this time, the mapped drive I just created suddenly disappears at the restart. I tried reconnecting it from there but still got no chance. Do I have a problem with my server settings?
I can’t still transfer my files through my server.
Hello Michil Remotigue,
I wish you could have been clear in the question about which server you are using. But since you have mentioned files transfer I will assume that you are trying to send the files from a C client to the server. I will suggest that you try running the debugger for program you are using for both the client side and the server and see if it does not freeze, and then be sure to check to see whether any bytes are sent or not.
Some problems that may be in the code and are responsible for triggering such kind of a problem are:
It may be that you are attempting to use
write()for sending data down a socket instead of using the which is the correct function for that task.
And for the client you might be using
recv() instead of the right function which is
You just need to check that you are using the right functions in the program.