I can’t still transfer my files through my server.

Asked By 0 points N/A Posted on -
qa-featured

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?

SHARE
Answered By 15 points N/A #110392

I can’t still transfer my files through my server.

qa-featured

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 read().

You just need to check that you are using the right functions in the program.

__

Regards
Clair Charles

 

Related Questions