Hi, I 'm developing and aplication that recives and saves code from the 
users.
It saves each code in specific location, taking acount the id of the user 
that submited the code.

After this the user look at the previous codes submitted by him.

this is the piece of code that must work, but it isn't, and i dont know 
why. The URI is done in the right way, if I copy and paste it in the 
browser it works, and I'm able to acces to the user space, but using 
mg_send_file I'm having probems.

else if (strcmp(conn->uri, "/checkSendedCode") == 0) {
        char uri[30];
        sprintf(uri, "SUBMISSIONS/BYUSER/%i", userID);
        printf("uri = %s\n", uri);
        mg_send_file(conn, uri);
        return MG_MORE;    
}


Thank you very much!!!!

-- 
You received this message because you are subscribed to the Google Groups 
"mongoose-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/mongoose-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to